Skip to content

Commit

Permalink
Merge pull request #31 from ranjanan/RA/depwarn
Browse files Browse the repository at this point in the history
Fix OS_NAME dep warn
  • Loading branch information
quinnj authored Sep 14, 2016
2 parents 9ade0cc + 5fc80bb commit 093c8bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
julia 0.4
BinDeps
Compat 0.7.18
Compat 0.7.20
4 changes: 2 additions & 2 deletions deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ vers = "20U1"
tagfile = "installed_vers"
target = "libbid$(Sys.WORD_SIZE).$(Libdl.dlext)"
if !isfile(tagfile) || !isfile(target) || readchomp(tagfile) != "$vers $(Sys.WORD_SIZE)"
if OS_NAME == :Windows
if Compat.KERNEL == :NT
# binary for Windows was cross-compiled with mingw using:
# 32-bit: CC_NAME_INDEX=3 CC_INDEX=3 _HOST_OS=Windows_NT _HOST_ARCH=x86 _NUM_CPUS=1 CC=i686-w64-mingw32-gcc CFLAGS_OPT="-O2 -DBID_THREAD=" CALL_BY_REF=0 GLOBAL_RND=1 GLOBAL_FLAGS=1 UNCHANGED_BINARY_FLAGS=1
# 64-bit: CC_NAME_INDEX=3 CC_INDEX=3 _HOST_OS=Windows_NT _HOST_ARCH=x86_64 _NUM_CPUS=1 CC=x86_64-w64-mingw32-gcc CFLAGS_OPT="-O2 -DBID_THREAD=" CALL_BY_REF=0 GLOBAL_RND=1 GLOBAL_FLAGS=1 UNCHANGED_BINARY_FLAGS=1
run(download_cmd("http://ab-initio.mit.edu/decfp/libbid$(Sys.WORD_SIZE)-$vers.dll", target))
elseif OS_NAME == :Darwin
elseif Compat.KERNEL == :Darwin
run(download_cmd("http://ab-initio.mit.edu/decfp/libbid$(Sys.WORD_SIZE)-$vers.dylib", target))
else
tarball = "IntelRDFPMathLib$vers.tar.gz"
Expand Down

0 comments on commit 093c8bd

Please sign in to comment.