[PATCH] D54153: Fix compilation issue in VS2017 with Clang-tablegen and LLVM-tablegen
Alexandre Ganea via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 8 05:48:27 PST 2018
aganea added a comment.
On a different run, the Cmake callstack is a bit different:
[163/3829] Configuring NATIVE LLVM...
FAILED: NATIVE/CMakeCache.txt
cmd.exe /C "cd /D F:\svn\buildninja\NATIVE && "C:\Program Files\CMake\bin\cmake.exe" -G Ninja -DCMAKE_MAKE_PROGRAM="C:/PROGRA~2/MIB055~1/2017/PROFES~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe" "-DCMAKE_C_COMPILER=c:/Program Files/LLVM/bin/clang-cl.exe" "-DCMAKE_CXX_COMPILER=c:/Program Files/LLVM/bin/clang-cl.exe" F:/svn/llvm -DLLVM_TARGET_IS_CROSSCOMPILE_HOST=TRUE -DLLVM_TARGETS_TO_BUILD="AArch64;AMDGPU;ARM;BPF;Hexagon;Lanai;Mips;MSP430;NVPTX;PowerPC;Sparc;SystemZ;WebAssembly;X86;XCore" -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="" -DLLVM_DEFAULT_TARGET_TRIPLE="x86_64-pc-windows-msvc" -DLLVM_TARGET_ARCH="host" -DCMAKE_BUILD_TYPE=Release -DLLVM_USE_LINKER=lld -DLLVM_EXTERNAL_CLANG_SOURCE_DIR=f:/svn/clang"
-- The C compiler identification is Clang 7.0.0
-- The CXX compiler identification is Clang 7.0.0
-- The ASM compiler identification is Clang
-- Found assembler: c:/Program Files/LLVM/bin/clang-cl.exe
-- Check for working C compiler: c:/Program Files/LLVM/bin/clang-cl.exe
-- Check for working C compiler: c:/Program Files/LLVM/bin/clang-cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: c:/Program Files/LLVM/bin/clang-cl.exe
-- Check for working CXX compiler: c:/Program Files/LLVM/bin/clang-cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
CMake Error: Unable to open check cache file for write. F:/svn/buildninja/NATIVE/CMakeFiles/CMakeTmp/CMakeFiles/cmake.check_cache
CMake Error at C:/Program Files/CMake/share/cmake-3.12/Modules/Internal/FeatureTesting.cmake:33 (try_compile):
Failed to configure test project build system.
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.12/Modules/Internal/FeatureTesting.cmake:79 (_record_compiler_features)
C:/Program Files/CMake/share/cmake-3.12/Modules/Compiler/CMakeCommonCompilerMacros.cmake:94 (_record_compiler_features_cxx)
C:/Program Files/CMake/share/cmake-3.12/Modules/CMakeDetermineCompileFeatures.cmake:56 (cmake_record_cxx_compile_features)
C:/Program Files/CMake/share/cmake-3.12/Modules/CMakeTestCXXCompiler.cmake:62 (CMAKE_DETERMINE_COMPILE_FEATURES)
CMakeLists.txt:35 (project)
-- Configuring incomplete, errors occurred!
See also "F:/svn/buildninja/NATIVE/CMakeFiles/CMakeOutput.log".
[176/3829] Building CXX object utils\TableGen\CMakeFiles\llvm-tblgen.dir\GlobalISelEmitter.cpp.obj
ninja: build stopped: subcommand failed.
Repository:
rL LLVM
https://reviews.llvm.org/D54153
More information about the llvm-commits
mailing list