Skip to content

Commit

Permalink
[MKL] Add IntelOpenMP as dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed Dec 4, 2019
1 parent 61094fe commit ca96911
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions M/MKL/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ products = [

# Dependencies that must be installed before this package can be built
dependencies = [
"IntelOpenMP_jll",
]

# Install first for win32, then win64. This will accumulate files into `products` and also wrappers into the JLL package.
Expand All @@ -55,17 +56,17 @@ non_reg_ARGS = filter(arg -> arg != "--register", ARGS)
include("../../fancy_toys.jl")

if should_build_platform("i686-w64-mingw32")
build_tarballs(non_reg_ARGS, name, version, sources_win32, script, [Windows(:i686)], products, [])
build_tarballs(non_reg_ARGS, name, version, sources_win32, script, [Windows(:i686)], products, dependencies)
end
if should_build_platform("x86_64-w64-mingw32")
build_tarballs(non_reg_ARGS, name, version, sources_win64, script, [Windows(:x86_64)], products, [])
build_tarballs(non_reg_ARGS, name, version, sources_win64, script, [Windows(:x86_64)], products, dependencies)
end
if should_build_platform("x86_64-apple-darwin14")
build_tarballs(non_reg_ARGS, name, version, sources_macos, script, [MacOS(:x86_64)], products, [])
build_tarballs(non_reg_ARGS, name, version, sources_macos, script, [MacOS(:x86_64)], products, dependencies)
end
if should_build_platform("i686-linux-gnu")
build_tarballs(non_reg_ARGS, name, version, sources_linux32, script, [Linux(:i686)], products, [])
build_tarballs(non_reg_ARGS, name, version, sources_linux32, script, [Linux(:i686)], products, dependencies)
end
if should_build_platform("x86_64-linux-gnu")
build_tarballs(ARGS, name, version, sources_linux64, script, [Linux(:x86_64)], products, [])
build_tarballs(ARGS, name, version, sources_linux64, script, [Linux(:x86_64)], products, dependencies)
end

0 comments on commit ca96911

Please sign in to comment.