Skip to content

Commit

Permalink
Updated build script
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Nov 30, 2017
1 parent 1026614 commit ac75260
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cache:
env:
global:
- BINARYBUILDER_DOWNLOADS_CACHE=downloads
- BINARYBUILDER_ROOTFS_DIR=rootfs
- BINARYBUILDER_AUTOMATIC_APPLE=true
sudo: required

# Before anything else, get the latest versions of things
Expand Down
11 changes: 6 additions & 5 deletions build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@ sources = [
]

script = raw"""
cd $WORKSPACE/srcdir
cd nettle-3.3/
cd $WORKSPACE/srcdir/nettle-3.3/
./configure --prefix=/ --host=$target
make install -j3
make -j3
make install
"""

products = prefix -> [
LibraryProduct(prefix,"libnettle"),
ExecutableProduct(prefix,"nettle-hash")
]

autobuild(pwd(), "nettle", platforms, sources, script, products)
product_hashes = Dict()
autobuild(pwd(), "nettle", platforms, sources, script, products, product_hashes)
print_buildjl(product_hashes)

0 comments on commit ac75260

Please sign in to comment.