@@ -10,9 +10,7 @@ conda config --set remote_max_retries 10
1010conda config --set remote_read_timeout_secs 120.2
1111conda config --set show_channel_urls true
1212if [[ $( uname) == Linux ]]; then
13- if [[ " $CONDA_SUBDIR " != " linux-32" && " $BITS32 " != " yes" ]] ; then
14- conda config --set restore_free_channel true
15- fi
13+ conda config --set restore_free_channel true
1614fi
1715conda info
1816conda config --show
@@ -38,13 +36,7 @@ conda list
3836# Create a base env first and then add to it...
3937# NOTE: gitpython is needed for CI testing to do the test slicing
4038# NOTE: pyyaml is used to ensure that the Azure CI config is valid
41- # NOTE: 32 bit linux... do not install NumPy, there's no conda package for >1.15
42- # so it has to come from pip later
43- if [[ " $CONDA_SUBDIR " == " linux-32" || " $BITS32 " == " yes" ]]; then
44- conda create -n $CONDA_ENV -q -y ${EXTRA_CHANNELS} python=$PYTHON pip gitpython pyyaml
45- else
46- conda create -n $CONDA_ENV -q -y ${EXTRA_CHANNELS} python=$PYTHON numpy=$NUMPY pip gitpython pyyaml " setuptools<60"
47- fi
39+ conda create -n $CONDA_ENV -q -y ${EXTRA_CHANNELS} python=$PYTHON numpy=$NUMPY pip gitpython pyyaml " setuptools<60"
4840
4941# Activate first
5042set +v
@@ -60,36 +52,23 @@ if [ "${VANILLA_INSTALL}" != "yes" ]; then
6052 # pexpect is used to run the gdb tests.
6153 # ipykernel is used for testing ipython behaviours.
6254 $CONDA_INSTALL ${EXTRA_CHANNELS} cffi jinja2 ipython ipykernel pygments pexpect
63- # Only install scipy on 64bit, else it'll pull in NumPy, 32bit linux needs
64- # to get scipy from pip
65- if [[ " $CONDA_SUBDIR " != " linux-32" && " $BITS32 " != " yes" ]] ; then
66- if [[ " $NUMPY " == " 1.23" ]] ; then
67- $CONDA_INSTALL ${EXTRA_CHANNELS} conda-forge::scipy
68- else
69- $CONDA_INSTALL ${EXTRA_CHANNELS} scipy
70- fi
55+ if [[ " $NUMPY " == " 1.23" ]] ; then
56+ $CONDA_INSTALL ${EXTRA_CHANNELS} conda-forge::scipy
57+ else
58+ $CONDA_INSTALL ${EXTRA_CHANNELS} scipy
7159 fi
7260fi
7361
7462# Install the compiler toolchain
7563if [[ $( uname) == Linux ]]; then
76- if [[ " $CONDA_SUBDIR " == " linux-32" || " $BITS32 " == " yes" ]] ; then
77- $CONDA_INSTALL gcc_linux-32 gxx_linux-32
78- else
79- $CONDA_INSTALL gcc_linux-64 gxx_linux-64
80- fi
64+ $CONDA_INSTALL gcc_linux-64 gxx_linux-64
8165elif [[ $( uname) == Darwin ]]; then
8266 $CONDA_INSTALL clang_osx-64 clangxx_osx-64
8367 # Install llvm-openmp on OSX for headers during build and runtime during
8468 # testing
8569 $CONDA_INSTALL llvm-openmp
8670fi
8771
88- # If on 32bit linux, now pip install NumPy (no conda package), SciPy is broken?!
89- if [[ " $CONDA_SUBDIR " == " linux-32" || " $BITS32 " == " yes" ]] ; then
90- $PIP_INSTALL numpy==$NUMPY
91- fi
92-
9372# Install latest correct build
9473$CONDA_INSTALL -c numba/label/dev llvmlite=0.40
9574
0 commit comments