Open duongtnhat opened 2 years ago
Hi, im using CPU Intel gen 11 with ubuntu 20.04 LTS, trying to install sassc and get an error
Building native extensions. This could take a while... ERROR: Error installing sassc: ERROR: Failed to build gem native extension. current directory: /home/duongtnhat/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sassc-2.2.1/ext /home/duongtnhat/.rbenv/versions/2.6.5/bin/ruby -I /home/duongtnhat/.rbenv/versions/2.6.5/lib/ruby/2.6.0 -r ./siteconf20220222-75279-ek4jk3.rb extconf.rb creating Makefile current directory: /home/duongtnhat/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sassc-2.2.1/ext make "DESTDIR=" clean current directory: /home/duongtnhat/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sassc-2.2.1/ext make "DESTDIR=" compiling ./libsass/src/fn_lists.cpp cc1plus: error: bad value (‘tigerlake’) for ‘-march=’ switch cc1plus: note: valid arguments to ‘-march=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client icelake-server cascadelake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 btver1 btver2 native cc1plus: error: bad value (‘tigerlake’) for ‘-mtune=’ switch cc1plus: note: valid arguments to ‘-mtune=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client icelake-server cascadelake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 btver1 btver2 generic native make: *** [Makefile:237: fn_lists.o] Error 1 make failed, exit code 2
Please help me, Thanks
Hi, im using CPU Intel gen 11 with ubuntu 20.04 LTS, trying to install sassc and get an error
Please help me, Thanks