diff options
author | Andreas Baumbach <healther@users.noreply.github.com> | 2019-10-28 03:59:13 +0100 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-10-27 21:59:13 -0500 |
commit | ea6e279bbc4c5973d1030013f1c8b21b15fc745b (patch) | |
tree | 4f3417ce059ae938becae8396dd3ef8eca5ce5a0 /var | |
parent | 82428133d692a8274b2365ed58f0130953539234 (diff) | |
download | spack-ea6e279bbc4c5973d1030013f1c8b21b15fc745b.tar.gz spack-ea6e279bbc4c5973d1030013f1c8b21b15fc745b.tar.bz2 spack-ea6e279bbc4c5973d1030013f1c8b21b15fc745b.tar.xz spack-ea6e279bbc4c5973d1030013f1c8b21b15fc745b.zip |
LLVM code-signing on OSX: link to the offical documentation (#13428)
* LLVM code-signing on OSX: link to the offical documentation
* LLVM: update setup_environment method
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/llvm/package.py | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/var/spack/repos/builtin/packages/llvm/package.py b/var/spack/repos/builtin/packages/llvm/package.py index b79798eb53..1e146a88d6 100644 --- a/var/spack/repos/builtin/packages/llvm/package.py +++ b/var/spack/repos/builtin/packages/llvm/package.py @@ -619,17 +619,18 @@ class Llvm(CMakePackage): except ProcessError: explanation = ('The "lldb_codesign" identity must be available' - ' to build LLVM with LLDB. See https://github.com/' - 'jevinskie/llvm-lldb/blob/master/docs/code-signing' - '.txt for details on how to create this identity.') + ' to build LLVM with LLDB. See https://lldb.llvm' + '.org/resources/build.html#code-signing-on-macos' + 'for details on how to create this identity.') raise RuntimeError(explanation) - def setup_environment(self, spack_env, run_env): - spack_env.append_flags('CXXFLAGS', self.compiler.cxx11_flag) + def setup_build_environment(self, env): + env.append_flags('CXXFLAGS', self.compiler.cxx11_flag) + def setup_run_environment(self, env): if '+clang' in self.spec: - run_env.set('CC', join_path(self.spec.prefix.bin, 'clang')) - run_env.set('CXX', join_path(self.spec.prefix.bin, 'clang++')) + env.set('CC', join_path(self.spec.prefix.bin, 'clang')) + env.set('CXX', join_path(self.spec.prefix.bin, 'clang++')) def cmake_args(self): spec = self.spec |