Skip to content

Commit

Permalink
Better LibCURL release
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Jan 8, 2019
1 parent 83cc3cb commit c92a0e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 24 deletions.
File renamed without changes.
27 changes: 3 additions & 24 deletions curl/build_tarballs.jl → LibCURL/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,35 +16,14 @@ sources = [
script = raw"""
cd $WORKSPACE/srcdir/curl-7.61.0
./configure --prefix=$prefix --host=$target --with-mbedtls --disable-manual --without-ssl
if [[ $target == *-w64-mingw32 ]]; then
LDFLAGS="-L$prefix/bin"
elif [[ $target == x86_64-apple-darwin14 ]]; then
LDFLAGS="-L$prefix/lib -Wl,-rpath,$prefix/lib"
else
LDFLAGS="-L$prefix/lib -Wl,-rpath-link,$prefix/lib"
fi
make -j${nproc} LDFLAGS="$LDFLAGS"
make -j${nproc}
make install
"""

# These are the platforms we will build for by default, unless further
# platforms are passed in on the command line
platforms = [
Linux(:i686, :glibc),
Linux(:x86_64, :glibc),
Linux(:aarch64, :glibc),
Linux(:armv7l, :glibc, :eabihf),
Linux(:powerpc64le, :glibc),
Linux(:i686, :musl),
Linux(:x86_64, :musl),
Linux(:aarch64, :musl),
Linux(:armv7l, :musl, :eabihf),
MacOS(:x86_64),
FreeBSD(:x86_64),
Windows(:i686),
Windows(:x86_64),
]
platforms = supported_platforms()

# The products that we will ensure are always built
products(prefix) = [
Expand All @@ -55,7 +34,7 @@ products(prefix) = [
# Dependencies that must be installed before this package can be built
dependencies = [
"https://github.com/bicycle1885/ZlibBuilder/releases/download/v1.0.1/build_Zlib.v1.2.11.jl",
"https://github.com/JuliaWeb/MbedTLSBuilder/releases/download/v0.11/build_MbedTLS.v1.0.0.jl"
"https://github.com/JuliaWeb/MbedTLSBuilder/releases/download/v0.16.0/build_MbedTLS.v2.13.1.jl",
]

# Build the tarballs, and possibly a `build.jl` as well.
Expand Down

0 comments on commit c92a0e9

Please sign in to comment.