Skip to content

Commit

Permalink
Provide precompiled static and shared libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Jul 27, 2024
1 parent 843df4d commit 6f27b75
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/julia/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ cd ${WORKSPACE}/srcdir/CUTEst
meson setup builddir --cross-file=${MESON_TARGET_TOOLCHAIN%.*}_gcc.meson --prefix=$prefix -Dquadruple=true
meson compile -C builddir
meson install -C builddir
meson setup builddir_shared --cross-file=${MESON_TARGET_TOOLCHAIN%.*}_gcc.meson --prefix=$prefix -Dquadruple=true -Ddefault_library=shared
meson compile -C builddir_shared
meson install -C builddir_shared
"""

# These are the platforms we will build for by default, unless further
Expand All @@ -29,9 +33,12 @@ platforms = expand_gfortran_versions(platforms)

# The products that we will ensure are always built
products = [
FileProduct("lib/libcutest_single.a", :libcutest_single)
FileProduct("lib/libcutest_double.a", :libcutest_double)
FileProduct("lib/libcutest_quadruple.a", :libcutest_quadruple)
FileProduct("lib/libcutest_single.a", :libcutest_single_a),
FileProduct("lib/libcutest_double.a", :libcutest_double_a),
FileProduct("lib/libcutest_quadruple.a", :libcutest_quadruple_a),
LibraryProduct("libcutest_single", :libcutest_single),
LibraryProduct("libcutest_double", :libcutest_double),
LibraryProduct("libcutest_quadruple", :libcutest_quadruple),
]

# Dependencies that must be installed before this package can be built
Expand Down

0 comments on commit 6f27b75

Please sign in to comment.