Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed May 13, 2020
1 parent 6061dea commit cec9ad9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -55,26 +55,26 @@ foreach(p -> append!(LIBPATH_list, p.LIBPATH_list), (GMP_jll,Readline_jll,Zlib_j
filter!(!isempty, unique!(LIBPATH_list))
# FIXME/HACK: set LIBS after all, to see if we can get Travis to pass with it;
#LIBS=join(["-Wl,-rpath -Wl,$path" for path in LIBPATH_list]," ")
LDFLAGS=join(["-L$path" for path in LIBPATH_list]," ")

#LIBPATH = join(LIBPATH_list, ':')
#LDFLAGS=join(["-L$path" for path in LIBPATH_list]," ")
LIBPATH=join(LIBPATH_list, ":")

rm(gap_bin_root, force=true, recursive=true)
mkpath(gap_bin_root)
cd(gap_bin_root) do
# initiate an out of tree build; the ARCHEXT ensures we depend on the Julia version,
# so that e.g. Julia 1.3 and 1.4 get separate binaries
try
withenv(Readline_jll.LIBPATH_env => LIBPATH) do
run(`$(gap_src_root)/configure
--with-gc=julia
--with-julia=$(Sys.BINDIR)
--with-gmp=$(gmp_prefix)
--with-readline=$(readline_prefix)
--with-zlib=$(zlib_prefix)
--disable-maintainer-mode
LDFLAGS=$(LDFLAGS)
ARCHEXT=v$(julia_version)
`)
end
catch
run(`cat config.log`)
error("configure failed")
Expand Down

0 comments on commit cec9ad9

Please sign in to comment.