[PATCH] D89942: Disable LTO and LLD for bootstrap builds on systems unsupported by LLD
Timm Bäder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 17 05:39:12 PDT 2021
tbaeder added a comment.
Including `CMakeDetermineSystem` gives me:
loading initial cache file ../clang/cmake/caches/3-stage.cmake
CMake Error: Could not open file for write in copy operation /CMakeSystem.cmake.tmp
CMake Error: : System Error: Permission denied
CMake Error at /usr/share/cmake/Modules/CMakeDetermineSystem.cmake:185 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
/home/tbaeder/llvm-project/clang/cmake/caches/3-stage-base.cmake:2 (include)
/home/tbaeder/llvm-project/clang/cmake/caches/3-stage.cmake:16 (include)
but also sets `CMAKE_HOST_SYSTEM_PROCESSOR`, which is just `uname -m` on Linux it seems.
The other variables printed from your snippet do not seem very useful in this case:
-- CLANG_BOOTSTRAP_TARGETS=clang;check-all;check-llvm;check-clang;test-suite;stage3;stage3-clang;stage3-check-all;stage3-check-llvm;stage3-check-clang;stage3-test-suite
-- CMAKE_BINARY_DIR=/home/tbaeder/llvm-project/build-stage3
-- CMAKE_COMMAND=/usr/bin/cmake
-- CMAKE_CPACK_COMMAND=/usr/bin/cpack
-- CMAKE_CTEST_COMMAND=/usr/bin/ctest
-- CMAKE_CURRENT_BINARY_DIR=/home/tbaeder/llvm-project/build-stage3
-- CMAKE_CURRENT_LIST_DIR=/home/tbaeder/llvm-project/clang/cmake/caches
-- CMAKE_CURRENT_LIST_FILE=/home/tbaeder/llvm-project/clang/cmake/caches/3-stage-base.cmake
-- CMAKE_CURRENT_SOURCE_DIR=/home/tbaeder/llvm-project/llvm
-- CMAKE_FILES_DIRECTORY=/CMakeFiles
-- CMAKE_HOST_SYSTEM_NAME=Linux
-- CMAKE_HOST_UNIX=1
-- CMAKE_MAJOR_VERSION=3
-- CMAKE_MINOR_VERSION=17
-- CMAKE_PARENT_LIST_FILE=/home/tbaeder/llvm-project/clang/cmake/caches/3-stage.cmake
-- CMAKE_PATCH_VERSION=4
-- CMAKE_ROOT=/usr/share/cmake
-- CMAKE_SOURCE_DIR=/home/tbaeder/llvm-project/llvm
-- CMAKE_TWEAK_VERSION=0
-- CMAKE_VERSION=3.17.4
-- LLVM_TARGETS_TO_BUILD=Native
-- UNIX=1
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89942/new/
https://reviews.llvm.org/D89942
More information about the cfe-commits
mailing list