Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

environment variable CLANG not set #43

Closed
Anthchirp opened this issue Nov 16, 2020 · 1 comment · Fixed by #44
Closed

environment variable CLANG not set #43

Anthchirp opened this issue Nov 16, 2020 · 1 comment · Fixed by #44

Comments

@Anthchirp
Copy link
Member

Issue:

Installed clang 11. Activated environment.

$ env | grep CLANG
CLANGXX=(PREFIX)/bin/x86_64-apple-darwin13.4.0-clang++

but no CLANG to be seen.


Environment (conda list):
$ conda list
# Name                    Version                   Build  Channel
alabaster                 0.7.12                     py_0    conda-forge
apipkg                    1.5                        py_0    conda-forge
attrs                     20.3.0             pyhd3deb0d_0    conda-forge
babel                     2.9.0              pyhd3deb0d_0    conda-forge
backports                 1.0                        py_2    conda-forge
backports.lzma            0.0.14           py38h6bd873d_3    conda-forge
biopython                 1.78             py38h4d0b108_1    conda-forge
boost                     1.74.0           py38h89463c3_1    conda-forge
boost-cpp                 1.74.0               he5d75e3_0    conda-forge
brotlipy                  0.7.0           py38h94c058a_1001    conda-forge
bzip2                     1.0.8                haf1e3a3_3    conda-forge
c-ares                    1.16.1               haf1e3a3_3    conda-forge
c-compiler                1.1.2                hc929b4f_0    conda-forge
ca-certificates           2020.11.8            h033912b_0    conda-forge
cctools                   949.0.1             h8821f95_16    conda-forge
cctools_osx-64            949.0.1             h8e49ea9_16    conda-forge
certifi                   2020.11.8        py38h50d1736_0    conda-forge
cffi                      1.14.3           py38h9edaa1b_1    conda-forge
chardet                   3.0.4           py38h5347e94_1008    conda-forge
clang                     11.0.0                        1    conda-forge
clang-11                  11.0.0          default_h000dee7_1    conda-forge
clang_osx-64              11.0.0               hb91bd55_4    conda-forge
clangxx                   11.0.0          default_hf57f61e_1    conda-forge
clangxx_osx-64            11.0.0               h7e1b574_4    conda-forge
colorlog                  4.6.2            py38h50d1736_0    conda-forge
compiler-rt               11.0.0               h01488ec_2    conda-forge
compiler-rt_osx-64        11.0.0               hd3c4e95_2    conda-forge
compilers                 1.1.2                h694c41f_0    conda-forge
conda                     4.9.2            py38h50d1736_0    conda-forge
conda-package-handling    1.7.2            py38h94c058a_0    conda-forge
cryptography              3.2.1            py38h5c1d3f9_0    conda-forge
cxx-compiler              1.1.2                h9a9d8cb_0    conda-forge
cycler                    0.10.0                     py_2    conda-forge
dials-data                2.1.32             pyhd8ed1ab_0    conda-forge
docutils                  0.16             py38h5347e94_2    conda-forge
eigen                     3.3.8                h6516342_0    conda-forge
execnet                   1.7.1                      py_0    conda-forge
expat                     2.2.9                hb1e8313_2    conda-forge
fortran-compiler          1.1.2                hcc3dc05_0    conda-forge
freetype                  2.10.4               h3f75d11_0    conda-forge
future                    0.18.2           py38h50d1736_2    conda-forge
gettext                   0.19.8.1          haf92f58_1004    conda-forge
gfortran_impl_osx-64      7.5.0               h34a0dec_13    conda-forge
gfortran_osx-64           7.5.0               h1174d25_10    conda-forge
gmp                       6.2.0                h2e338ed_4    conda-forge
h5py                      2.10.0          nompi_py38hf6831e1_105    conda-forge
hdf5                      1.10.6          nompi_hc457bb4_1110    conda-forge
hdf5-external-filter-plugins 0.1.0                h694c41f_5    conda-forge
hdf5-external-filter-plugins-bitshuffle 0.1.0                hb22d7dc_5    conda-forge
hdf5-external-filter-plugins-bzip2 0.1.0                h64c37c2_5    conda-forge
hdf5-external-filter-plugins-lz4 0.1.0                hb22d7dc_5    conda-forge
icu                       67.1                 hb1e8313_0    conda-forge
idna                      2.10               pyh9f0ad1d_0    conda-forge
imagesize                 1.2.0                      py_0    conda-forge
importlib_resources       3.3.0            py38h50d1736_0    conda-forge
iniconfig                 1.1.1              pyh9f0ad1d_0    conda-forge
iota                      1.4.20             pyh9f0ad1d_0    conda-forge
isl                       0.22.1               hb1e8313_2    conda-forge
jinja2                    2.11.2             pyh9f0ad1d_0    conda-forge
joblib                    0.17.0                     py_0    conda-forge
jpeg                      9d                   hbcb3906_0    conda-forge
kiwisolver                1.3.1            py38h9250c2b_0    conda-forge
krb5                      1.17.1               h75d18d8_3    conda-forge
lcms2                     2.11                 h11f7e16_1    conda-forge
ld64                      530                 h755cc8a_16    conda-forge
ld64_osx-64               530                 h66d9e41_16    conda-forge
ldid                      2.1.2                h7660a38_2    conda-forge
libblas                   3.9.0                2_openblas    conda-forge
libcblas                  3.9.0                2_openblas    conda-forge
libclang-cpp11            11.0.0          default_h000dee7_1    conda-forge
libcurl                   7.71.1               h9bf37e3_8    conda-forge
libcxx                    11.0.0               h439d374_0    conda-forge
libedit                   3.1.20191231         h0678c8f_2    conda-forge
libev                     4.33                 haf1e3a3_1    conda-forge
libffi                    3.2.1             hb1e8313_1007    conda-forge
libgfortran               4.0.0               h50e675f_13    conda-forge
libgfortran-devel_osx-64  7.5.0               h50e675f_13    conda-forge
libgfortran4              7.5.0               h50e675f_13    conda-forge
libiconv                  1.16                 haf1e3a3_0    conda-forge
liblapack                 3.9.0                2_openblas    conda-forge
libllvm11                 11.0.0               hf85e3d2_0    conda-forge
libnghttp2                1.41.0               h7580e61_2    conda-forge
libopenblas               0.3.12          openmp_h63d9170_1    conda-forge
libpng                    1.6.37               h7cec526_2    conda-forge
libssh2                   1.9.0                h8a08a2b_5    conda-forge
libtiff                   4.1.0                hca7d577_6    conda-forge
libwebp-base              1.1.0                hbcb3906_3    conda-forge
llvm-openmp               11.0.0               h73239a0_1    conda-forge
llvm-tools                11.0.0               hf85e3d2_0    conda-forge
lz4-c                     1.9.2                hb1e8313_3    conda-forge
markupsafe                1.1.1            py38h94c058a_2    conda-forge
matplotlib-base           3.3.3            py38h9bfd75d_0    conda-forge
mock                      4.0.2            py38h32f6830_1    conda-forge
more-itertools            8.6.0              pyhd8ed1ab_0    conda-forge
mpc                       1.1.0             ha57cd0f_1009    conda-forge
mpfr                      4.0.2                h72d8aaf_1    conda-forge
mrcfile                   1.1.2              pyh9f0ad1d_2    conda-forge
msgpack-c                 3.3.0                h47b1a2d_2    conda-forge
msgpack-python            1.0.0            py38h02bb52f_2    conda-forge
ncurses                   6.2                  h2e338ed_4    conda-forge
numpy                     1.19.4           py38hcf469a5_1    conda-forge
olefile                   0.46               pyh9f0ad1d_1    conda-forge
openssl                   1.1.1h               haf1e3a3_0    conda-forge
orderedset                2.0.3            py38h4d0b108_3    conda-forge
packaging                 20.4               pyh9f0ad1d_0    conda-forge
pathlib2                  2.3.5            py38h50d1736_2    conda-forge
pillow                    8.0.1            py38h565d989_0    conda-forge
pip                       20.2.4                     py_0    conda-forge
pluggy                    0.13.1           py38h5347e94_3    conda-forge
procrunner                2.3.0              pyhd8ed1ab_0    conda-forge
psutil                    5.7.3            py38h94c058a_0    conda-forge
pthread-stubs             0.4               h1de35cc_1001    conda-forge
py                        1.9.0              pyh9f0ad1d_0    conda-forge
pycosat                   0.6.3           py38h94c058a_1005    conda-forge
pycparser                 2.20               pyh9f0ad1d_2    conda-forge
pygments                  2.7.2                      py_0    conda-forge
pyopenssl                 19.1.0                     py_1    conda-forge
pyparsing                 2.4.7              pyh9f0ad1d_0    conda-forge
pypubsub                  4.0.3                      py_0    conda-forge
pyrtf                     0.45                       py_2    conda-forge
pysocks                   1.7.1            py38h5347e94_2    conda-forge
pytest                    6.1.2            py38h50d1736_0    conda-forge
pytest-forked             1.2.0              pyh9f0ad1d_0    conda-forge
pytest-mock               1.13.0                   py38_0    conda-forge
pytest-xdist              2.1.0                      py_0    conda-forge
python                    3.8.6           hcfdab8c_0_cpython    conda-forge
python-dateutil           2.8.1                      py_0    conda-forge
python.app                1.3              py38h4d0b108_3    conda-forge
python_abi                3.8                      1_cp38    conda-forge
pytz                      2020.4             pyhd8ed1ab_0    conda-forge
pyyaml                    5.3.1            py38h94c058a_1    conda-forge
readline                  8.0                  h0678c8f_2    conda-forge
reportlab                 3.5.55           py38h2d7e1c8_0    conda-forge
requests                  2.25.0             pyhd3deb0d_0    conda-forge
ruamel_yaml               0.15.80         py38h94c058a_1003    conda-forge
scikit-learn              0.23.2           py38hc729cd9_2    conda-forge
scipy                     1.5.3            py38h352ea5d_0    conda-forge
scons                     4.0.1            py38h32f6830_1    conda-forge
setuptools                49.6.0           py38h5347e94_2    conda-forge
six                       1.15.0             pyh9f0ad1d_0    conda-forge
snowballstemmer           2.0.0                      py_0    conda-forge
sphinx                    3.1.2                      py_0    conda-forge
sphinxcontrib-applehelp   1.0.2                      py_0    conda-forge
sphinxcontrib-devhelp     1.0.2                      py_0    conda-forge
sphinxcontrib-htmlhelp    1.0.3                      py_0    conda-forge
sphinxcontrib-jsmath      1.0.1                      py_0    conda-forge
sphinxcontrib-qthelp      1.0.3                      py_0    conda-forge
sphinxcontrib-serializinghtml 1.1.4                      py_0    conda-forge
sqlite                    3.33.0               h960bd1c_1    conda-forge
tabulate                  0.8.7              pyh9f0ad1d_0    conda-forge
tapi                      1100.0.11            h9ce4665_0    conda-forge
threadpoolctl             2.1.0              pyh5ca1d4c_0    conda-forge
tk                        8.6.10               hb0a8c7a_1    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
tornado                   6.1              py38h7e3306e_0    conda-forge
tqdm                      4.51.0             pyh9f0ad1d_0    conda-forge
urllib3                   1.25.11                    py_0    conda-forge
wheel                     0.35.1             pyh9f0ad1d_0    conda-forge
wxpython                  4.0.7.post2      py38h10bb4de_3    conda-forge
xz                        5.2.5                haf1e3a3_1    conda-forge
yaml                      0.2.5                haf1e3a3_0    conda-forge
zlib                      1.2.11            h7795811_1010    conda-forge
zstd                      1.4.5                h289c70a_2    conda-forge

Details about conda and system ( conda info ):
$ conda info
     active environment : base
    active env location : (PREFIX)
            shell level : 1
       user config file : (HOME)/.condarc
 populated config files : (PREFIX)/.condarc
          conda version : 4.9.2
    conda-build version : not installed
         python version : 3.8.6.final.0
       virtual packages : __osx=10.14.6=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : (PREFIX)   (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/osx-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : (PREFIX)/pkgs
                          (HOME)/.conda/pkgs
       envs directories : (PREFIX)/envs
                          (HOME)/.conda/envs
               platform : osx-64
             user-agent : conda/4.9.2 requests/2.25.0 CPython/3.8.6 Darwin/18.7.0 OSX/10.14.6
                UID:GID : 503:20
             netrc file : None
           offline mode : False

This used to work on clang 10:

$ conda create -n clang2 -c conda-forge clang=10 compilers
$ conda activate clang2
$ env | grep CLANG
CLANGXX=(PREFIX)/envs/clang2/bin/x86_64-apple-darwin13.4.0-clang++
CONDA_BACKUP_CLANG=(PREFIX)/bin/x86_64-apple-darwin13.4.0-clang
CLANG=(PREFIX)/envs/clang2/bin/x86_64-apple-darwin13.4.0-clang
@isuruf isuruf transferred this issue from conda-forge/clangdev-feedstock Nov 16, 2020
@isuruf
Copy link
Member

isuruf commented Nov 16, 2020

Anthchirp added a commit to Anthchirp/clang-compiler-activation-feedstock that referenced this issue Nov 16, 2020
@Anthchirp Anthchirp mentioned this issue Nov 16, 2020
4 tasks
isuruf added a commit that referenced this issue Nov 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants