Skip to content

Commit

Permalink
Merge branch 'v2.8'
Browse files Browse the repository at this point in the history
  • Loading branch information
GiovanniBussi committed Aug 29, 2022
2 parents 9004d57 + 141bd6a commit 4cad432
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .ci/install.cppcheck
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ else
fi

# pick native architecture
native="$($CC -march=native -Q --help=target | grep march= | awk '{print $2}')"
native="$($CC -march=native -Q --help=target | grep "^ *\-march" | awk '{print $2}' | head -n 1)"
# this is required so that when running the job on a different architecture ccache understand
# the object file should not be recycled

git checkout $version
make -j 4 install MATCHCOMPILER=yes FILESDIR="$HOME/opt/share/cppcheck" HAVE_RULES=yes CXXFLAGS="-DNDEBUG -O2 -march="$native" -mtune="$native" -Wall -Wno-sign-compare -Wno-unused-function" PREFIX="$HOME/opt"
make -j 4 install MATCHCOMPILER=yes FILESDIR="$HOME/opt/share/cppcheck" HAVE_RULES=yes CXXFLAGS="-DNDEBUG -O2 -march=$native -mtune=$native -Wall -Wno-sign-compare -Wno-unused-function" PREFIX="$HOME/opt"
cd ../

cppcheck --version
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ jobs:
.ci/push doc
codecheck:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set path
Expand Down Expand Up @@ -225,7 +225,7 @@ jobs:
make -C docker rocky8
macports:
runs-on: macos-10.15
runs-on: macos-11
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -267,6 +267,7 @@ jobs:
done
macsimple:
# still needs some fix to be upgraded to macos-11
runs-on: macos-10.15
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -294,7 +295,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04 , macos-10.15]
os: [ubuntu-20.04 , macos-11]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand Down
7 changes: 4 additions & 3 deletions regtest/mapping/rt-adapt/config
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ arg="--noatoms --plumed plumed.dat"
function plumed_custom_skip() {
if [ "$(uname)" = Darwin ] ; then
fullversion=$(sw_vers -productVersion)
fullversion=${fullversion#*.}
fullversion=${fullversion%.*}
if (( fullversion>14 )) ; then
version1=${fullversion%%.*}
version2=${fullversion#*.}
version2=${version2%%.*}
if (( ( version1==10 && version2>14 ) || version1>10)) ; then
return 0
fi
fi
Expand Down

0 comments on commit 4cad432

Please sign in to comment.