-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always build Python with spack in CI tests / update submodule pointer…
… for spack (moving packages to builtin) (#427) * Update submodule pointer for spack * Always build Python with spack in CI tests * Set CI compiler as hard requirement for all packages * Configure mvapich2 for Linux * Separate bootstrap step from spack env install to be able to use other compiler * Move gcc@10 build from macOS to Linux
- Loading branch information
Showing
6 changed files
with
91 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,43 +29,19 @@ runs: | |
sudo apt-get install qt5-default qttools5-dev-tools libqt5svg5-dev | ||
elif [[ "$RUNNER_OS" == "macOS" ]]; then | ||
# These are already installed | ||
#brew install curl | ||
#brew install git | ||
#brew install git-lfs | ||
brew install curl | ||
brew install git | ||
brew install git-lfs | ||
# For now we need gcc-10/gfortran-10 | ||
brew install gcc@10 | ||
# Also install the llvm clang-12 compilers for later use | ||
brew install llvm@12 | ||
brew install lmod | ||
brew install qt@5 | ||
brew install readline | ||
brew install wget | ||
ls -l /usr/local/Cellar | ||
# Remove macOS native Python 3.11 from /usr/local/bin | ||
cd /usr/local/bin | ||
rm 2to3-3.11 | ||
rm idle3.11 | ||
rm pip3.11 | ||
rm pydoc3.11 | ||
rm python3.11 | ||
rm python3.11-config | ||
rm python3.11-intel64 | ||
ln -sf ../Cellar/[email protected]/3.10.8/bin/2to3-3.10 2to3 | ||
ln -sf ../Cellar/[email protected]/3.10.8/bin/idle3.10 idle3 | ||
ln -sf ../Cellar/[email protected]/3.10.8/bin/pip3.10 pip3 | ||
ln -sf ../Cellar/[email protected]/3.10.8/bin/pydoc3.10 pydoc3 | ||
ln -sf ../Cellar/[email protected]/3.10.8/bin/python3.10 python3 | ||
ln -sf ../Cellar/[email protected]/3.10.8/bin/python3.10-config python3-config | ||
#ln -sf ... python3-intel64 # doesn't exist | ||
ls -l /usr/local/bin | ||
# Print version of xcode | ||
pkgutil --pkg-info=com.apple.pkg.CLTools_Executables | ||
# Install Python poetry to avoid install errors in spack | ||
python3 -m pip install poetry | ||
fi | ||
## Install Python poetry to avoid install errors in spack | ||
#python3 -m pip install poetry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ jobs: | |
cache-externals: | ||
strategy: | ||
matrix: | ||
compiler-mpi: [ {compiler: intel, mpi: intel-oneapi-mpi}, {compiler: gcc@9, mpi: mpich@4} ] | ||
compiler-mpi: [ {compiler: intel@2021.8.0, mpi: intel-oneapi-mpi@2021.8.0}, {compiler: gcc@9.4.0, mpi: [email protected]}, {compiler: [email protected], mpi: mpich@4.0.2} ] | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
|
||
|
@@ -60,7 +60,7 @@ jobs: | |
needs: [cache-externals, cache-spack-mirror] | ||
strategy: | ||
matrix: | ||
compiler-mpi: [ {compiler: intel, mpi: intel-oneapi-mpi}, {compiler: gcc@9, mpi: mpich@4} ] | ||
compiler-mpi: [ {compiler: intel@2021.8.0, mpi: intel-oneapi-mpi@2021.8.0}, {compiler: gcc@9.4.0, mpi: [email protected]}, {compiler: [email protected], mpi: mpich@4.0.2} ] | ||
template: [skylab-dev, ufs-weather-model, ufs-srw-dev] | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
|
Submodule spack
updated
from 3a1521 to 1144bc