Skip to content

Commit e45b884

Browse files
committed
fix fpm processing for maxrank=4
1 parent cfb95da commit e45b884

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ci/fpm-deployment.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ destdir="${DESTDIR:-stdlib-fpm}"
99
fypp="${FYPP:-$(which fypp)}"
1010

1111
# Arguments for the fypp preprocessor
12-
fyflags="${FYFLAGS:--DMAXRANK=8}"
12+
maxrank=4
13+
fyflags="${FYFLAGS:--DMAXRANK=$maxrank}"
1314

1415
# Number of parallel jobs for preprocessing
1516
if [ $(uname) = "Darwin" ]; then
@@ -34,6 +35,10 @@ prune=(
3435
"$destdir/src/f18estop.f90"
3536
)
3637

38+
if [ ${maxrank} -lt 8 ]; then
39+
prune+=("$destdir/test/test_mean_f03.f90")
40+
fi
41+
3742
major=$(cut -d. -f1 VERSION)
3843
minor=$(cut -d. -f2 VERSION)
3944
patch=$(cut -d. -f3 VERSION)

0 commit comments

Comments
 (0)