diff --git a/.github/julia/build_tarballs.jl b/.github/julia/build_tarballs.jl index 6d44fdbc..f6852c9f 100644 --- a/.github/julia/build_tarballs.jl +++ b/.github/julia/build_tarballs.jl @@ -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 @@ -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