Skip to content

Commit

Permalink
Don't provide examples and tests binaries when we precompile SPRAL ar…
Browse files Browse the repository at this point in the history
…tifacts
  • Loading branch information
amontoison authored and jfowkes committed Jun 12, 2024
1 parent b504b46 commit 24a87f4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
2 changes: 0 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ task:
else
brew install python meson gcc@14 metis hwloc openblas
fi
echo "OMP_CANCELLATION=TRUE" >> $CIRRUS_ENV
echo "OMP_PROC_BIND=TRUE" >> $CIRRUS_ENV
configure_script: |
if [ "$(uname -s)" = "FreeBSD" ]; then
FC=gfortran12 CC=gcc12 CXX=g++12 meson setup builddir --buildtype=debug -Dexamples=true -Dtests=true \
Expand Down
4 changes: 2 additions & 2 deletions .github/julia/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ meson setup builddir --cross-file=${MESON_TARGET_TOOLCHAIN%.*}_gcc.meson \
-Dlibhwloc=$HWLOC \
-Dlibblas=openblas \
-Dliblapack=openblas \
-Dexamples=true \
-Dtests=true
-Dexamples=false \
-Dtests=false
meson compile -C builddir
meson install -C builddir
Expand Down
6 changes: 3 additions & 3 deletions .github/julia/generate_binaries.jl
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ for (platform, libdir, ext) in platforms

# Create a folder with the version number of the package
mkdir("$(package)_binaries.$version2")
for folder in ("include", "share", "modules", "lib", "bin", "examples", "tests")
for folder in ("include", "share", "modules", "lib", "bin")
cp(folder, "$(package)_binaries.$version2/$folder")
end

cd("$(package)_binaries.$version2")
if ext == "dll"
run(`zip -r --symlinks ../../../$(package)_binaries.$version2.$platform.zip include share modules lib bin examples tests`)
run(`zip -r --symlinks ../../../$(package)_binaries.$version2.$platform.zip include share modules lib bin`)
else
run(`tar -czf ../../../$(package)_binaries.$version2.$platform.tar.gz include share modules lib bin examples tests`)
run(`tar -czf ../../../$(package)_binaries.$version2.$platform.tar.gz include share modules lib bin`)
end
cd("../../..")

Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/meson.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,6 @@ jobs:
fi
rm *.tar.gz
- name: Set environment variables for OpenMP
shell: bash
run: |
echo "OMP_CANCELLATION=TRUE" >> $GITHUB_ENV
echo "OMP_PROC_BIND=TRUE" >> $GITHUB_ENV
- name: Install compilers
uses: fortran-lang/setup-fortran@main
with:
Expand Down

0 comments on commit 24a87f4

Please sign in to comment.