From f39f63e2c3b5a52a8db5770082b7cb8d09f7373d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zheng=20Zhou=20=28=E5=91=A8=E6=AD=A3=29?= <122618104+mankai-chow@users.noreply.github.com> Date: Sat, 15 Feb 2025 10:38:52 -0500 Subject: [PATCH] FuzzifiED: New version v1.0.0 (#10536) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update build_tarballs.jl * Update build_tarballs.jl * Update build_tarballs.jl * Update F/FuzzifiED/build_tarballs.jl Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com> * Update build_tarballs.jl --------- Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com> --- F/FuzzifiED/build_tarballs.jl | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/F/FuzzifiED/build_tarballs.jl b/F/FuzzifiED/build_tarballs.jl index b3ff5e8432a..bef1d0be4a0 100644 --- a/F/FuzzifiED/build_tarballs.jl +++ b/F/FuzzifiED/build_tarballs.jl @@ -3,34 +3,22 @@ using BinaryBuilder, Pkg name = "FuzzifiED" -version = v"0.10.6" +version = v"1.0.0" # Collection of sources required to complete build sources = [ - GitSource("https://github.com/FuzzifiED/FuzzifiED_Fortran.git", "262616b86d71a4d5dcf10c0608c789d4cf45f6d8") + GitSource("https://github.com/FuzzifiED/FuzzifiED_Fortran.git", "a81b1fa6b1560ab0046ec139dec0d0d355e56b34") ] # Bash recipe for building across all platforms script = raw""" -cd $WORKSPACE/srcdir/FuzzifiED_Fortran/src/ -FFLAGS=(-O3 -fPIC -fopenmp) -if [[ ${nbits} == 64 ]]; then - FFLAGS+=(-fdefault-integer-8) -fi -for src in cfs.f90 bs.f90 op.f90 diag.f90 diag_re.f90 ent.f90; do - gfortran "${FFLAGS[@]}" -c ./${src} -done -gfortran "${FFLAGS[@]}" -shared -o "${libdir}/libfuzzified.${dlext}" ./*.o -L "${libdir}" -larpack -cd super -for src in scfs.f90 sbs.f90 sop.f90 sent.f90; do - gfortran "${FFLAGS[@]}" -c ./${src} -done -gfortran "${FFLAGS[@]}" -shared -o "${libdir}/libfuzzifino.${dlext}" ./*.o +cd $WORKSPACE/srcdir/FuzzifiED_Fortran/ +make DLEXT=${dlext} LIB_DIR=${libdir} NBITS=${nbits} """ # These are the platforms we will build for by default, unless further # platforms are passed in on the command line -platforms = expand_gfortran_versions(supported_platforms(exclude = p -> arch(p) == "aarch64" && os(p) == "freebsd")) +platforms = expand_gfortran_versions(supported_platforms(exclude = [Platform("aarch64", "freebsd"), Platform("riscv64", "linux")])) # The products that we will ensure are always built products = [