Skip to content

Commit a090c71

Browse files
authored
Merge pull request #3198 from boutproject/master-into-next
Get recent changes for master into next
2 parents d3d16da + b6c2220 commit a090c71

File tree

5 files changed

+8
-29
lines changed

5 files changed

+8
-29
lines changed

.ci_fedora.sh

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,10 @@ then
2121
cmd="sudo docker"
2222
fi
2323
test . != ".$2" && mpi="$2" || mpi=openmpi
24-
test . != ".$3" && version="$3" || version=rawhide
25-
time $cmd pull registry.fedoraproject.org/fedora:$version
24+
time $cmd pull ghcr.io/dschwoerer/bout-container-base:ci-fedora
2625
time $cmd create --cap-add=SYS_PTRACE --security-opt seccomp=unconfined \
2726
--shm-size 256M \
28-
--name mobydick registry.fedoraproject.org/fedora:$version \
27+
--name mobydick ghcr.io/dschwoerer/bout-container-base:ci-fedora \
2928
/tmp/BOUT-dev/.ci_fedora.sh $mpi
3029
time $cmd cp ${TRAVIS_BUILD_DIR:-$(pwd)} mobydick:/tmp/BOUT-dev
3130
time $cmd start -a mobydick
@@ -34,27 +33,8 @@ fi
3433

3534
test . != ".$1" && mpi="$1" || mpi=openmpi
3635

37-
## If we are called as root, setup everything
38-
if [ $UID -eq 0 ]
39-
then
40-
cat /etc/os-release
41-
# Ignore weak depencies
42-
echo "install_weak_deps=False" >> /etc/dnf/dnf.conf
43-
echo "minrate=10M" >> /etc/dnf/dnf.conf
44-
export FORCE_COLUMNS=200
45-
time dnf -y install dnf5
46-
time dnf5 -y install dnf5-plugins cmake python3-zoidberg python3-natsort python3-boututils wget
47-
# Allow to override packages - see #2073
48-
time dnf5 copr enable -y davidsch/fixes4bout || :
49-
time dnf5 -y upgrade
50-
time dnf5 -y builddep bout++
51-
useradd test
52-
cp -a /tmp/BOUT-dev /home/test/
53-
chown -R test /home/test
54-
chmod u+rwX /home/test -R
55-
su - test -c "${0/\/tmp/\/home\/test} $mpi"
5636
## If we are called as normal user, run test
57-
else
37+
cp -a /tmp/BOUT-dev /home/test/
5838
. /etc/profile.d/modules.sh
5939
module load mpi/${1}-x86_64
6040
export OMPI_MCA_rmaps_base_oversubscribe=yes
@@ -76,4 +56,3 @@ else
7656

7757
time make -C build build-check -j 2
7858
time make -C build check
79-
fi

.github/workflows/black-fix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ jobs:
4141
ls
4242
$HOME/.local/bin/black tests/ tools/ $(grep -EIlr '^#!.*python.*$' bin/ tests/ tools/ src/ | grep -v _boutpp_build)
4343
44-
- uses: stefanzweifel/git-auto-commit-action@v5
44+
- uses: stefanzweifel/git-auto-commit-action@v7
4545
with:
4646
commit_message: "Apply black changes"

.github/workflows/clang-format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
while ! git clang-format origin/${{ github.base_ref }} ; do git add . ; done
2929

3030
- name: Commit to the PR branch
31-
uses: stefanzweifel/git-auto-commit-action@v5
31+
uses: stefanzweifel/git-auto-commit-action@v7
3232
with:
3333
commit_message: "Apply clang-format changes"

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ jobs:
209209
with:
210210
submodules: true
211211
- name: Build Fedora
212-
run: ./.ci_fedora.sh setup openmpi latest
212+
run: ./.ci_fedora.sh setup openmpi
213213
shell: bash
214214
env:
215215
TRAVIS_BUILD_DIR: ${{ github.workspace }}
@@ -219,7 +219,7 @@ jobs:
219219
container: ghcr.io/ggeorgakoudis/boutdev-cuda:latest
220220

221221
steps:
222-
- uses: actions/checkout@v4
222+
- uses: actions/checkout@v5
223223
with:
224224
submodules: true
225225
- name: Build minimal CUDA 12.2 @ GCC9.4.0 @ Ubuntu 20.04

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ set(BOUT_LIB_PATH "${CMAKE_CURRENT_BINARY_DIR}/lib")
465465
set_target_properties(bout++ PROPERTIES
466466
LIBRARY_OUTPUT_DIRECTORY "${BOUT_LIB_PATH}"
467467
ARCHIVE_OUTPUT_DIRECTORY "${BOUT_LIB_PATH}"
468-
SOVERSION 5.1.0)
468+
SOVERSION 5.2.0)
469469

470470
# Set some variables for the bout-config script
471471
set(CONFIG_LDFLAGS "${CONFIG_LDFLAGS} -L\$BOUT_LIB_PATH -lbout++")

0 commit comments

Comments
 (0)