summaryrefslogtreecommitdiff
path: root/.dockerignore
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2021-02-17 17:54:50 -0600
committerTamara Dahlgren <dahlgren1@llnl.gov>2021-02-17 17:07:48 -0800
commit3256f018eb6f6fd5d8f8b7f8c9693389e1944ce9 (patch)
treed1d00d59901a58b408abe276388feff59e867318 /.dockerignore
parent2607bc5cff7cadb6a6048f9aaa64cd711edfe46d (diff)
downloadspack-3256f018eb6f6fd5d8f8b7f8c9693389e1944ce9.tar.gz
spack-3256f018eb6f6fd5d8f8b7f8c9693389e1944ce9.tar.bz2
spack-3256f018eb6f6fd5d8f8b7f8c9693389e1944ce9.tar.xz
spack-3256f018eb6f6fd5d8f8b7f8c9693389e1944ce9.zip
apple-clang: add correct path to compiler wrappers (#21662)
Follow-up to #17110 ### Before ```bash CC=/Users/Adam/spack/lib/spack/env/clang/clang; export CC SPACK_CC=/usr/bin/clang; export SPACK_CC PATH=...:/Users/Adam/spack/lib/spack/env/apple-clang:/Users/Adam/spack/lib/spack/env/case-insensitive:/Users/Adam/spack/lib/spack/env:...; export PATH ``` ### After ```bash CC=/Users/Adam/spack/lib/spack/env/clang/clang; export CC SPACK_CC=/usr/bin/clang; export SPACK_CC PATH=...:/Users/Adam/spack/lib/spack/env/clang:/Users/Adam/spack/lib/spack/env/case-insensitive:/Users/Adam/spack/lib/spack/env:...; export PATH ``` `CC` and `SPACK_CC` were being set correctly, but `PATH` was using the name of the compiler `apple-clang` instead of `clang`. For most packages, since `CC` was set correctly, nothing broke. But for packages using `Makefiles` that set `CC` based on `which clang`, it was using the system compilers instead of the compiler wrappers. Discovered when working on `py-xgboost@0.90`. An alternative fix would be to copy the symlinks in `env/clang` to `env/apple-clang`. Let me know if you think there's a better way to do this, or to test this.
Diffstat (limited to '.dockerignore')
0 files changed, 0 insertions, 0 deletions