From 3839f395f154d8e5a2fa9df675198ff09f951683 Mon Sep 17 00:00:00 2001 From: Juan Pablo Vielma Date: Mon, 17 Sep 2018 19:38:19 -0400 Subject: [PATCH] Update build_tarballs.jl --- build_tarballs.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build_tarballs.jl b/build_tarballs.jl index 9074db6..5095b85 100644 --- a/build_tarballs.jl +++ b/build_tarballs.jl @@ -12,11 +12,12 @@ sources = [ ] -# Bash recipe for building across all platforms +# Adapted from builder by kalmarek (https://github.com/JuliaPackaging/BinaryBuilder.jl/issues/313) +# Bash recipe for building across all platforms script = raw""" cd $WORKSPACE/srcdir cd scs-2.0.2/ -if [ $target = "x86_64-w64-mingw32" ] || [ $target = "i686-w64-mingw32" ]; then +if [ $target = "x86_64-apple-darwin14" ] || [ $target = "x86_64-w64-mingw32" ] || [ $target = "i686-w64-mingw32" ]; then flags="DLONG=1" else flags="DLONG=1 USE_OPENMP=1"