diff options
author | Satish Balay <balay@mcs.anl.gov> | 2022-08-31 15:29:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-31 13:29:07 -0700 |
commit | 60f37e8c88e359f040e522005e7ad89633be0e34 (patch) | |
tree | 8be122a044e629f015ee01e95cfb4a59facbdfbf /bin/spack.bat | |
parent | 0c6e3188ac7ca780783bb36c0763c069cc0c1043 (diff) | |
download | spack-60f37e8c88e359f040e522005e7ad89633be0e34.tar.gz spack-60f37e8c88e359f040e522005e7ad89633be0e34.tar.bz2 spack-60f37e8c88e359f040e522005e7ad89633be0e34.tar.xz spack-60f37e8c88e359f040e522005e7ad89633be0e34.zip |
llvm: fix 15.0.0rc builds on MacOS with command-line-tools (#32397)
* llvm: fix 15.0.0rc builds on MacOS with command-line-tools
Ref: https://github.com/llvm/llvm-project/issues/57037
i.e use -DBUILTINS_CMAKE_ARGS=-DCOMPILER_RT_ENABLE_IOS=OFF. But this needs switching "compiler-rt" from "projects" to "runtimes".
Also fixing the warnings below fixes compile errors
CMake Warning at CMakeLists.txt:101 (message):
Using LLVM_ENABLE_PROJECTS=libcxx is deprecated now, please use
-DLLVM_ENABLE_RUNTIMES=libcxx or see the instructions at
https://libcxx.llvm.org/BuildingLibcxx.html for building the runtimes.
CMake Warning at CMakeLists.txt:101 (message):
Using LLVM_ENABLE_PROJECTS=libcxxabi is deprecated now, please use
-DLLVM_ENABLE_RUNTIMES=libcxxabi or see the instructions at
https://libcxx.llvm.org/BuildingLibcxx.html for building the runtimes.
CMake Warning at CMakeLists.txt:101 (message):
Using LLVM_ENABLE_PROJECTS=libunwind is deprecated now, please use
-DLLVM_ENABLE_RUNTIMES=libunwind or see the instructions at
https://libcxx.llvm.org/BuildingLibcxx.html for building the runtimes.
/private/var/folders/nt/_m1t_x7j76q6sl3xt91tqgs00000gn/T/balay/spack-stage/spack-stage-llvm-15.0.0-rc2-h2t5bohzyy7exz2ub3m42pfycjcmbndk/spack-build-h2t5boh/include/c++/v1/cstdlib:135:9: error: no member named 'at_quick_exit' in the global namespace
using ::at_quick_exit _LIBCPP_USING_IF_EXISTS;
~~^
* Update var/spack/repos/builtin/packages/llvm/package.py
Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
Diffstat (limited to 'bin/spack.bat')
0 files changed, 0 insertions, 0 deletions