Skip to content

Commit

Permalink
Bump minimum gcc from 8 to 9 (#1029)
Browse files Browse the repository at this point in the history
  • Loading branch information
alkino authored Apr 18, 2023
1 parent 0514fbe commit 6d963c6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@ stages:
- job: 'ubuntu2004'
pool:
vmImage: 'ubuntu-20.04'
displayName: 'Ubuntu (20.04), GCC 8.4'
displayName: 'Ubuntu (20.04), GCC 9.4'
steps:
- checkout: self
submodules: False
- script: |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-add-repository -y ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install -y g++-8 flex bison libfl-dev cython libx11-dev libxcomposite-dev libncurses-dev mpich
sudo apt-get install -y g++-9 flex bison libfl-dev cython libx11-dev libxcomposite-dev libncurses-dev mpich
sudo apt-get install -y python3.8 python3.8-dev python3.8-venv ninja-build
python3.8 -m pip install --upgrade pip setuptools
python3.8 -m pip install --user -r $(Build.Repository.LocalPath)/requirements.txt
Expand All @@ -97,7 +97,7 @@ stages:
displayName: 'Install Dependencies'
- script: |
export PATH=$(pwd)/$CMAKE_PKG/bin:/home/vsts/.local/bin:$PATH
export CXX='g++-8'
export CXX='g++-9'
mkdir -p $(Build.Repository.LocalPath)/build
cd $(Build.Repository.LocalPath)/build
cmake --version
Expand All @@ -115,8 +115,8 @@ stages:
displayName: 'Build and Run Unit Tests'
- script: |
export PATH=$(pwd)/$CMAKE_PKG/bin:/home/vsts/.local/bin:$PATH
export CC='gcc-8'
export CXX='g++-8'
export CC='gcc-9'
export CXX='g++-9'
git clone${NEURON_BRANCH:+ --branch }${NEURON_BRANCH} --single-branch https://github.com/neuronsimulator/nrn.git
mkdir nrn/build
cd nrn/build
Expand Down

0 comments on commit 6d963c6

Please sign in to comment.