diff options
author | Axel Huebl <axel.huebl@plasma.ninja> | 2020-08-26 23:51:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-27 08:51:00 +0200 |
commit | a6c0b7ab3aeb0ef8670e03ed6bcf62bb38d1d274 (patch) | |
tree | 71432503c0e311d3c834aedc613180198281ce40 | |
parent | 416afa0059fb51e6753bd44a6b923481dd02065a (diff) | |
download | spack-a6c0b7ab3aeb0ef8670e03ed6bcf62bb38d1d274.tar.gz spack-a6c0b7ab3aeb0ef8670e03ed6bcf62bb38d1d274.tar.bz2 spack-a6c0b7ab3aeb0ef8670e03ed6bcf62bb38d1d274.tar.xz spack-a6c0b7ab3aeb0ef8670e03ed6bcf62bb38d1d274.zip |
CMake: Update GCC on macOS Conflict message (#18253)
* CMake 3.18.0+: Builds with GCC on macOS
The latest release of CMake updates libuv, which fixes ObjC code
usage on macOS. Passing ObjC code to non apple-clang compilers
crashed the build before.
Refs.:
- https://gitlab.kitware.com/cmake/cmake/-/issues/20620
- https://gitlab.kitware.com/cmake/cmake/-/merge_requests/4687
* CMake: Further issues GCC+macOS
There are further issues to fix before this will work.
https://gitlab.kitware.com/cmake/cmake/-/issues/21135
-rw-r--r-- | var/spack/repos/builtin/packages/cmake/package.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/cmake/package.py b/var/spack/repos/builtin/packages/cmake/package.py index 3d2f8e71d7..b0dc890aa4 100644 --- a/var/spack/repos/builtin/packages/cmake/package.py +++ b/var/spack/repos/builtin/packages/cmake/package.py @@ -100,12 +100,11 @@ class Cmake(Package): variant('openssl', default=True, description="Enables CMake's OpenSSL features") variant('ncurses', default=True, description='Enables the build of the ncurses gui') - # Tries to build an Objective-C file from libuv with GCC's C frontend - # https://gitlab.kitware.com/cmake/cmake/-/issues/20620 - # https://github.com/libuv/libuv/issues/2805 + # Does not compile and is not covered in upstream CI (yet). conflicts('%gcc platform=darwin', - msg='CMake does not compile with GCC on macOS yet, use clang. ' - 'See: https://gitlab.kitware.com/cmake/cmake/-/issues/20620') + msg='CMake does not compile with GCC on macOS yet, ' + 'please use %apple-clang. ' + 'See: https://gitlab.kitware.com/cmake/cmake/-/issues/21135') # Really this should conflict since it's enabling or disabling openssl for # CMake's internal copy of curl. Ideally we'd want a way to have the |