Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5 from giordano/update
Browse files Browse the repository at this point in the history
Update build script
  • Loading branch information
SimonDanisch authored Aug 26, 2019
2 parents d5609f4 + fe62242 commit 86f1d73
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ env:
sudo: required
# Before anything else, get the latest versions of things
before_script:
- julia -e 'using Pkg; pkg"add BinaryBuilder BinaryProvider"'
- julia -e 'using Pkg; pkg"add BinaryProvider"; pkg"add BinaryBuilder#master"; Pkg.build()'

script:
- julia build_tarballs.jl
- julia build_tarballs.jl

deploy:
provider: releases
Expand Down
16 changes: 7 additions & 9 deletions build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@ sources = [

# Bash recipe for building across all platforms
script = raw"""
cd $WORKSPACE/srcdir
cd cairo-1.14.12/
LDFLAGS="-L$prefix/lib" CPPFLAGS="-I$prefix/include" ./configure --prefix=$prefix --host=$target --disable-static --disable-xlib --disable-ft --disable-dependency-tracking
make -j${ncore}
cd $WORKSPACE/srcdir/cairo-*/
LDFLAGS="-L$prefix/lib -L/opt/${target}/${target}/lib" CPPFLAGS="-I$prefix/include" ./configure --prefix=$prefix --host=$target --disable-static --disable-xlib --disable-ft --disable-dependency-tracking
make -j${nproc}
make install
exit
"""

# These are the platforms we will build for by default, unless further
Expand All @@ -36,10 +34,10 @@ 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/SimonDanisch/LibpngBuilder/releases/download/v1.6.31/build_libpng.v1.0.0.jl",
"https://github.com/staticfloat/PixmanBuilder/releases/download/v0.34.0-1/build_Pixman.v0.34.0.jl",
"https://github.com/JuliaGraphics/FreeTypeBuilder/releases/download/v2.9.1-2/build_FreeType2.v2.9.1.jl"
"https://github.com/bicycle1885/ZlibBuilder/releases/download/v1.0.4/build_Zlib.v1.2.11.jl",
"https://github.com/JuliaIO/LibpngBuilder/releases/download/v1.0.3/build_libpng.v1.6.37.jl",
"https://github.com/JuliaPackaging/Yggdrasil/releases/download/Pixman-v0.36.0-0/build_Pixman.v0.36.0.jl",
"https://github.com/JuliaGraphics/FreeTypeBuilder/releases/download/v2.9.1-4/build_FreeType2.v2.10.0.jl"
]


Expand Down

0 comments on commit 86f1d73

Please sign in to comment.