From 8870ca8adf7977b1fd62ee310def736ed228393d Mon Sep 17 00:00:00 2001 From: Nils Wentzell Date: Fri, 30 Oct 2020 14:40:39 -0400 Subject: [PATCH 1/5] [gh-actions] Do not stop all builds if one of them fails --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index be6d6ae6..f01e5ea1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,6 +10,7 @@ jobs: build: strategy: + fail-fast: false matrix: include: - {os: ubuntu-20.04, cc: gcc-10, cxx: g++-10} From 103a7fdefd58a4698b01a3d15dd870e6eceae227 Mon Sep 17 00:00:00 2001 From: Nils Wentzell Date: Fri, 30 Oct 2020 14:41:28 -0400 Subject: [PATCH 2/5] [gh-actions] Fix broken llvm brew install command --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f01e5ea1..2034e501 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -59,7 +59,7 @@ jobs: - name: Install homebrew dependencies if: matrix.os == 'macos-10.15' run: | - brew install gcc@10 llvm@10 boost fftw hdf5 open-mpi openblas numpy scipy mpi4py + brew install gcc@10 llvm boost fftw hdf5 open-mpi openblas numpy scipy mpi4py pip3 install mako pip3 install -r requirements.txt From 1f8cf2462b5ece6db70ab11b3bbff5f992085762 Mon Sep 17 00:00:00 2001 From: Nils Wentzell Date: Fri, 30 Oct 2020 15:15:17 -0400 Subject: [PATCH 3/5] [gh-actions] Install numpy scipy and mpi4py through pip3 instead of brew --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2034e501..a5beaec4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -59,8 +59,8 @@ jobs: - name: Install homebrew dependencies if: matrix.os == 'macos-10.15' run: | - brew install gcc@10 llvm boost fftw hdf5 open-mpi openblas numpy scipy mpi4py - pip3 install mako + brew install gcc@10 llvm boost fftw hdf5 open-mpi openblas + pip3 install mako numpy scipy mpi4py pip3 install -r requirements.txt - name: Build & Install TRIQS From 5031acea7312e30796f39e1f38290aa130d03554 Mon Sep 17 00:00:00 2001 From: Nils Wentzell Date: Fri, 22 Jan 2021 14:40:20 -0500 Subject: [PATCH 4/5] [ghactions] Be sure to apt-get update before apt-get install --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a5beaec4..b9bd9c79 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,6 +26,7 @@ jobs: - name: Install ubuntu dependencies if: matrix.os == 'ubuntu-20.04' run: > + sudo apt-get update && sudo apt-get install clang-10 g++-10 From db0b1ab82e186dae9b4e45b9095670fa7f35374c Mon Sep 17 00:00:00 2001 From: Dylan Simon Date: Thu, 27 May 2021 17:27:11 -0400 Subject: [PATCH 5/5] [jenkins] switch osx to gcc-11 --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2db0c0ed..eceda4c3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -53,8 +53,8 @@ for (int i = 0; i < dockerPlatforms.size(); i++) { /****************** osx builds (on host) */ def osxPlatforms = [ - ["gcc", ['CC=gcc-10', 'CXX=g++-10', 'FC=gfortran-10']], - ["clang", ['CC=$BREW/opt/llvm/bin/clang', 'CXX=$BREW/opt/llvm/bin/clang++', 'FC=gfortran-10', 'CXXFLAGS=-I$BREW/opt/llvm/include', 'LDFLAGS=-L$BREW/opt/llvm/lib']] + ["gcc", ['CC=gcc-11', 'CXX=g++-11', 'FC=gfortran-11']], + ["clang", ['CC=$BREW/opt/llvm/bin/clang', 'CXX=$BREW/opt/llvm/bin/clang++', 'FC=gfortran-11', 'CXXFLAGS=-I$BREW/opt/llvm/include', 'LDFLAGS=-L$BREW/opt/llvm/lib']] ] for (int i = 0; i < osxPlatforms.size(); i++) { def platformEnv = osxPlatforms[i]