-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update libsass to v3.6.0 and fixes various issues (windows, cross-compilation, binary gems) #96
Conversation
ee81a67
to
79943e2
Compare
bf4296c
to
b0b9592
Compare
Is there anything preventing either this or #94 from being merged? |
Thus far, I've been targeting only libsass releases (rather than specific commits). It doesn't look like there's been a release containing the commit that this PR points to yet. I suppose we could merge #94 |
after this change, I can't compile it on Windows, is it intentional? |
It's not intentional, you should be able to compile on Windows with this PR. |
sure, see gem_make.out mastercurrent directory: c:/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext c:/Ruby24-x64/bin/ruby.exe -rrubygems c:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.3.2/exe/rake RUBYARCHDIR\=c:/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/extensions/x64-mingw32/2.4.0/sassc-ruby-58d09fe58563 RUBYLIBDIR\=c:/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/extensions/x64-mingw32/2.4.0/sassc-ruby-58d09fe58563 cd libsass git submodule update --init Submodule 'ext/libsass' (git://github.com/sass/libsass.git) registered for path './' Cloning into 'C:/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass'... Submodule path './': checked out '9cfe0df975945325e05d6dd39ee98224898d9a79' make lib/libsass.so mkdir lib gcc -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/cencode.o src/cencode.c g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/ast.o src/ast.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/node.o src/node.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/context.o src/context.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/constants.o src/constants.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/functions.o src/functions.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/color_maps.o src/color_maps.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/environment.o src/environment.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/ast_fwd_decl.o src/ast_fwd_decl.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/bind.o src/bind.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/file.o src/file.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/util.o src/util.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/json.o src/json.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/units.o src/units.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/values.o src/values.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/plugins.o src/plugins.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/position.o src/position.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/lexer.o src/lexer.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/parser.o src/parser.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/prelexer.o src/prelexer.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/eval.o src/eval.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/expand.o src/expand.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/listize.o src/listize.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/cssize.o src/cssize.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/extend.o src/extend.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/output.o src/output.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/inspect.o src/inspect.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/emitter.o src/emitter.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/check_nesting.o src/check_nesting.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/remove_placeholders.o src/remove_placeholders.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/sass.o src/sass.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/sass_util.o src/sass_util.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/sass_values.o src/sass_values.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/sass_context.o src/sass_context.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/sass_functions.o src/sass_functions.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/sass2scss.o src/sass2scss.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/backtrace.o src/backtrace.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/operators.o src/operators.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/to_c.o src/to_c.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/to_value.o src/to_value.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/source_map.o src/source_map.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/subset_map.o src/subset_map.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/error_handling.o src/error_handling.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/memory/SharedPtr.o src/memory/SharedPtr.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/utf8_string.o src/utf8_string.cpp g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/base64vlq.o src/base64vlq.cpp g++ -shared -Wall -O2 -Wl,-undefined,error -std=gnu++0x -static -static-libgcc -static-libstdc++ -o lib/libsass.so src/cencode.o src/ast.o src/node.o src/context.o src/constants.o src/functions.o src/color_maps.o src/environment.o src/ast_fwd_decl.o src/bind.o src/file.o src/util.o src/json.o src/units.o src/values.o src/plugins.o src/position.o src/lexer.o src/parser.o src/prelexer.o src/eval.o src/expand.o src/listize.o src/cssize.o src/extend.o src/output.o src/inspect.o src/emitter.o src/check_nesting.o src/remove_placeholders.o src/sass.o src/sass_util.o src/sass_values.o src/sass_context.o src/sass_functions.o src/sass2scss.o src/backtrace.o src/operators.o src/to_c.o src/to_value.o src/source_map.o src/subset_map.o src/error_handling.o src/memory/SharedPtr.o src/utf8_string.o src/base64vlq.o -lm -lstdc++ cd - this branchcurrent directory: c:/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-b0b9592d6e4c/ext c:/Ruby24-x64/bin/ruby.exe -I c:/Ruby24-x64/lib/ruby/site_ruby/2.4.0 -r ./siteconf20190505-2224-cjg2c9.rb extconf.rb |
We'll hold off tagging a LibSass release incase upstream changes are
required.
…On Sun., 5 May 2019, 11:21 pm Pavel Rosický, ***@***.***> wrote:
sure, see gem_make.out
master
current directory: c:/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext
c:/Ruby24-x64/bin/ruby.exe -rrubygems c:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.3.2/exe/rake RUBYARCHDIR\=c:/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/extensions/x64-mingw32/2.4.0/sassc-ruby-58d09fe58563 RUBYLIBDIR\=c:/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/extensions/x64-mingw32/2.4.0/sassc-ruby-58d09fe58563
cd libsass
git submodule update --init
Submodule 'ext/libsass' (git://github.com/sass/libsass.git) registered for path './'
Cloning into 'C:/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass'...
Submodule path './': checked out '9cfe0df975945325e05d6dd39ee98224898d9a79'
make lib/libsass.so
mkdir lib
gcc -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/cencode.o src/cencode.c
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/ast.o src/ast.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/node.o src/node.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/context.o src/context.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/constants.o src/constants.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/functions.o src/functions.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/color_maps.o src/color_maps.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/environment.o src/environment.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/ast_fwd_decl.o src/ast_fwd_decl.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/bind.o src/bind.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/file.o src/file.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/util.o src/util.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/json.o src/json.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/units.o src/units.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/values.o src/values.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/plugins.o src/plugins.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/position.o src/position.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/lexer.o src/lexer.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/parser.o src/parser.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/prelexer.o src/prelexer.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/eval.o src/eval.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/expand.o src/expand.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/listize.o src/listize.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/cssize.o src/cssize.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/extend.o src/extend.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/output.o src/output.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/inspect.o src/inspect.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/emitter.o src/emitter.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/check_nesting.o src/check_nesting.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/remove_placeholders.o src/remove_placeholders.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/sass.o src/sass.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/sass_util.o src/sass_util.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/sass_values.o src/sass_values.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/sass_context.o src/sass_context.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/sass_functions.o src/sass_functions.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/sass2scss.o src/sass2scss.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/backtrace.o src/backtrace.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/operators.o src/operators.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/to_c.o src/to_c.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/to_value.o src/to_value.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/source_map.o src/source_map.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/subset_map.o src/subset_map.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/error_handling.o src/error_handling.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/memory/SharedPtr.o src/memory/SharedPtr.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/utf8_string.o src/utf8_string.cpp
g++ -Wall -O2 -DLIBSASS_VERSION="\"3.5.2\"" -std=gnu++0x -I /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-58d09fe58563/ext/libsass/include -c -o src/base64vlq.o src/base64vlq.cpp
g++ -shared -Wall -O2 -Wl,-undefined,error -std=gnu++0x -static -static-libgcc -static-libstdc++ -o lib/libsass.so src/cencode.o src/ast.o src/node.o src/context.o src/constants.o src/functions.o src/color_maps.o src/environment.o src/ast_fwd_decl.o src/bind.o src/file.o src/util.o src/json.o src/units.o src/values.o src/plugins.o src/position.o src/lexer.o src/parser.o src/prelexer.o src/eval.o src/expand.o src/listize.o src/cssize.o src/extend.o src/output.o src/inspect.o src/emitter.o src/check_nesting.o src/remove_placeholders.o src/sass.o src/sass_util.o src/sass_values.o src/sass_context.o src/sass_functions.o src/sass2scss.o src/backtrace.o src/operators.o src/to_c.o src/to_value.o src/source_map.o src/subset_map.o src/error_handling.o src/memory/SharedPtr.o src/utf8_string.o src/base64vlq.o -lm -lstdc++
cd -
this branch
current directory: c:/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-b0b9592d6e4c/ext
c:/Ruby24-x64/bin/ruby.exe -I c:/Ruby24-x64/lib/ruby/site_ruby/2.4.0 -r ./siteconf20190505-2224-cjg2c9.rb extconf.rb
current directory: c:/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-b0b9592d6e4c/ext
make "DESTDIR=" clean
make -C 'c:/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-b0b9592d6e4c/ext/libsass' clean
make[1]: Entering directory /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-b0b9592d6e4c/ext/libsass' make[1]: *** No rule to make target clean'. Stop.
make[1]: Leaving directory `/c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-b0b9592d6e4c/ext/libsass'
make: *** [clean] Error 2
current directory: c:/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-b0b9592d6e4c/ext
make "DESTDIR="
make -C 'c:/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-b0b9592d6e4c/ext/libsass' lib/libsass.so
make[1]: Entering directory /c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-b0b9592d6e4c/ext/libsass' make[1]: *** No rule to make target lib/libsass.so'. Stop.
make[1]: Leaving directory `/c/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems/sassc-ruby-b0b9592d6e4c/ext/libsass'
make: *** [libsass.so] Error 2
make failed, exit code 2
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#96 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAENSWD4KDSPBEYH44KIPHLPT3NOLANCNFSM4GE5P47A>
.
|
79dcdff
to
d2d6fb0
Compare
Should be fixed now! |
f84f75a
to
1f7d2dd
Compare
22769b6
to
efdd4c6
Compare
@ahorek Should be fixed now. Conflicts also resolved. |
@bolandrm Perhaps we should merge this and release a This will let users try out the new pre-built gems and report any issues before the final release. |
I'll try to tag a new LibSass release this week.
…On Thu., 9 May 2019, 8:20 am Gleb Mazovetskiy, ***@***.***> wrote:
@bolandrm <https://github.com/bolandrm> Perhaps we should merge this and
release a beta gem?
This will let users try out the new pre-built gems and report any issues
before the final release.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#96 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAENSWAVRW542S7YBYU3JJ3PUNGZ3ANCNFSM4GE5P47A>
.
|
Simply have Docker installed and run this to compile binary gems: bundle exec rake gem:native
@xzyfer Sounds like we're just waiting for a release at this point. Any update on that? |
Apologies I fell behind. I just released https://github.com/sass/libsass/releases/tag/3.6.0 |
Should be good to merge and release! Please also merge #117 before releasing! To compile binary gems, simply run: bundle exec rake gem:native This will cross-compile gems for Windows (mingw / RubyInstaller) and Linux using Docker + VirtualBox. |
@glebm i'm a bit confused- are the precompiled binaries going to be included as part of the ruby gem? |
@glebm hitting the following issue on osx:
|
The command build multiple gems and we should publish them all (the source one and 4 precompiled ones). If possible, Ruby will install use the precompiled one matching the current platform by default. See for example nokogiri - you can see multiple 1.10.3 versions; this gem will look similar. |
Ah, I see the problem, rake compiler tries to look for |
Yeah, perhaps tomorrow |
Thanks @bolandrm . That will definitely be appreciated -- a lot easier than having to build from source myself. |
@bolandrm Sorry to nag you; it would be really helpful if you could release this. Thanks! |
Released |
precompiled version doesn't work for me (tested on linux and windows) LoadError: Could not open library '/home/ahorek/.rvm/gems/ruby-2.5.3/gems/sassc-2.1.0.pre1-x86_64-linux/lib/sassc/2.5/libsass.so': /home/ahorek/.rvm/gems/ruby-2.5.3/gems/sassc-2.1.0.pre1-x86_64-linux/lib/sassc/2.5/libsass.so: symbol _ZTVNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEE, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference /home/ahorek/.rvm/gems/ruby-2.5.3/gems/ffi-1.11.1/lib/ffi/library.rb:145:in `block in ffi_lib' /home/ahorek/.rvm/gems/ruby-2.5.3/gems/ffi-1.11.1/lib/ffi/library.rb:99:in `map' /home/ahorek/.rvm/gems/ruby-2.5.3/gems/ffi-1.11.1/lib/ffi/library.rb:99:in `ffi_lib' /home/ahorek/.rvm/gems/ruby-2.5.3/gems/sassc-2.1.0.pre1-x86_64-linux/lib/sassc/native.rb:15:in `' /home/ahorek/.rvm/gems/ruby-2.5.3/gems/sassc-2.1.0.pre1-x86_64-linux/lib/sassc/native.rb:6:in `' /home/ahorek/.rvm/gems/ruby-2.5.3/gems/sassc-2.1.0.pre1-x86_64-linux/lib/sassc/native.rb:5:in `' /home/ahorek/.rvm/gems/ruby-2.5.3/gems/sassc-2.1.0.pre1-x86_64-linux/lib/sassc.rb:31:in `require_relative' /home/ahorek/.rvm/gems/ruby-2.5.3/gems/sassc-2.1.0.pre1-x86_64-linux/lib/sassc.rb:31:in `' |
Looks like we're not linking libc statically but we probably should. |
👍 macOS 10.14.5 / Xcode 10.2 / mri 2.0.0/various/2.6.3 |
Seems to be working with jruby 9.1.17.0! Thanks! |
@bolandrm Yes, I'll take a look in a few days. I'm travelling at the moment |
Updates libsass to v3.6.0
Also:
rake-compiler
. Fixes Windows? #18.load_paths
separator on Windows. Fixes Configuring Sass with multiple valid load paths leads to SyntaxError on Windows #93.libsass.so
fromext/
tolib/
. Fixes libsass.so stays in ext/ - but should be in lib/ #95.rake-compiler-dock
. Simply install Docker and runbundle exec rake gem:native
.Some important fixes in libsass v3.6.0:
:not()
clause ignored completely libsass#2697cc
instead of hard-codinggcc
. Building with make does not work if g++ is not installed libsass#2707