Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add armv7l #5

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,17 @@ $CC -shared -o libbid.so *.o
mkdir $prefix/lib
cp libbid.* $prefix/lib/.

elif [ $target == "arm-linux-gnueabihf" ]; then

cd $WORKSPACE/srcdir
cd IntelRDFPMathLib20U1
sed -i -e 's/^#if \(!defined _MSC_VER || defined __INTEL_COMPILER\)/#if !defined __ENABLE_BINARY80__ \&\& (\1)/' LIBRARY/src/bid_functions.h TESTS/test_bid_functions.h
cd LIBRARY
make _HOST_ARCH=i686 CC=gcc CFLAGS_OPT="-O2 -fPIC -fsigned-char -D__ENABLE_BINARY80__=0" CALL_BY_REF=0 GLOBAL_RND=1 GLOBAL_FLAGS=1 UNCHANGED_BINARY_FLAGS=1
$CC -shared -o libbid.so *.o
mkdir $prefix/lib
cp libbid.* $prefix/lib/.

elif [ $target == "x86_64-apple-darwin14" ]; then

cd $WORKSPACE/srcdir
Expand Down Expand Up @@ -67,7 +78,7 @@ platforms = [
Linux(:i686, :glibc),
Linux(:x86_64, :glibc),
# Linux(:aarch64, :glibc),
# Linux(:armv7l, :glibc),
Linux(:armv7l, :glibc),
# Linux(:powerpc64le, :glibc),
MacOS(),
Windows(:i686),
Expand Down