3
3
using BinaryBuilder
4
4
5
5
name = " GSL"
6
- version_string = " 2.7.1"
7
- version = v " 2.7.2" # <--- This version number is a lie to keep it different from our
8
- # previous fake "2.7.1" build, as they have different ABI because of
9
- # https://git.savannah.gnu.org/cgit/gsl.git/commit/configure.ac?id=77e7c7d008707dace56626020eaa6181912e9841
6
+ version_string = " 2.8"
7
+ version = VersionNumber (version_string)
10
8
11
9
# Collection of sources required to build GSL
12
10
sources = [
13
- ArchiveSource (" http://ftp.gnu.org/gnu/gsl/gsl-$(version_string) .tar.gz" ,
14
- " dcb0fbd43048832b757ff9942691a8dd70026d5da0ff85601e52687f6deeb34b" ),
11
+ ArchiveSource (" https://ftp.gnu.org/gnu/gsl/gsl-$(version_string) .tar.gz" ,
12
+ " 6a99eeed15632c6354895b1dd542ed5a855c0f15d9ad1326c6fe2b2c9e423190" ),
13
+ DirectorySource (" ./bundled" ),
15
14
]
16
15
17
16
# Bash recipe for building across all platforms
@@ -23,14 +22,16 @@ if [[ "${target}" == aarch64-apple-darwin* ]]; then
23
22
# happy.
24
23
export MACOSX_DEPLOYMENT_TARGET="10.16"
25
24
fi
25
+
26
+ atomic_patch -p1 ${WORKSPACE}/srcdir/patches/0001-remove-unknown-ld-option.patch
26
27
./configure --prefix=${prefix} --build=${MACHTYPE} --host=${target} --disable-static
27
28
make -j${nproc}
28
29
make install
29
30
"""
30
31
31
32
# These are the platforms we will build for by default, unless further
32
33
# platforms are passed in on the command line
33
- platforms = supported_platforms (; experimental= true )
34
+ platforms = supported_platforms (; exclude = [ Platform ( " aarch64 " , " freebsd " )], experimental= true )
34
35
35
36
# The products that we will ensure are always built
36
37
products = [
0 commit comments