Skip to content
Snippets Groups Projects
Commit c34e5162 authored by Lars Kanis's avatar Lars Kanis
Browse files

Avoid installation of glu and opengl in the rake-compiler-dock box.

"gem inst glu" fails because of missing opengl header files.
parent eb0eb06f
No related branches found
No related tags found
No related merge requests found
......@@ -159,8 +159,12 @@ end
desc "Build the windows binary gems"
task 'gem:windows' => 'gem' do
require 'rake_compiler_dock'
sh "bundle package"
RakeCompilerDock.sh "bundle --local && rake cross native gem MAKE=\"nice make V=1 -j `nproc`\" "
gf = "tmp/Gemfile-rcd"
File.write(gf, File.read("Gemfile").gsub(/.*"(glu|opengl)".*/, ""))
sh "BUNDLE_GEMFILE=#{gf} bundle package"
RakeCompilerDock.sh "BUNDLE_GEMFILE=#{gf} bundle --local --without=norcd && rake cross native gem MAKE=\"nice make V=1 -j `nproc`\" "
end
# Set environment variable SWIG_LIB to
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment