Skip to content

Commit

Permalink
libdir isn't defined?
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Jul 13, 2019
1 parent 8a8466e commit 1a7158e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ sources = [
# Bash recipe for building across all platforms
script = raw"""
cd $WORKSPACE/srcdir/xsum
mkdir -p ${libdir}
mkdir -p ${prefix}/lib
if [[ $target == i686-* ]]; then
xsumfpmath="-mfpmath=sse"
fi
${CC} ${LDFLAGS} -shared -fPIC -O3 -std=c99 ${xsumfpmath} -fno-inline-functions -o ${libdir}/libxsum.${dlext} xsum.c pbinary.c
${CC} ${LDFLAGS} -shared -fPIC -O3 -std=c99 ${xsumfpmath} -fno-inline-functions -o ${prefix}/lib/libxsum.${dlext} xsum.c pbinary.c
"""

# These are the platforms we will build for by default, unless further
Expand Down

0 comments on commit 1a7158e

Please sign in to comment.