Seems to have a problem with what looks like an undefined UNUSED() macro
compiling blas.c
ruby /root/.rbenv/versions/truffleruby+graalvm-22.3.0/graalvm/languages/ruby/lib/gems/gems/numo-linalg-0.1.7/ext/numo/linalg/blas/gen/cogen.rb -l -o blas_s.c s
compiling blas_s.c
/root/.rbenv/versions/truffleruby+graalvm-22.3.0/graalvm/languages/ruby/lib/gems/gems/numo-linalg-0.1.7/ext/numo/linalg/blas/gen/../tmpl/nrm2.c:36:57: error: expected ')'
blas_s_snrm2(int argc, VALUE const argv[], VALUE UNUSED(mod))
^
/root/.rbenv/versions/truffleruby+graalvm-22.3.0/graalvm/languages/ruby/lib/gems/gems/numo-linalg-0.1.7/ext/numo/linalg/blas/gen/../tmpl/nrm2.c:36:13: note: to match this '('
blas_s_snrm2(int argc, VALUE const argv[], VALUE UNUSED(mod))
^
/root/.rbenv/versions/truffleruby+graalvm-22.3.0/graalvm/languages/ruby/lib/gems/gems/numo-linalg-0.1.7/ext/numo/linalg/blas/gen/../tmpl/nrm2.c:34:57: error: expected ')'
blas_s_sasum(int argc, VALUE const argv[], VALUE UNUSED(mod))
^
/root/.rbenv/versions/truffleruby+graalvm-22.3.0/graalvm/languages/ruby/lib/gems/gems/numo-linalg-0.1.7/ext/numo/linalg/blas/gen/../tmpl/nrm2.c:34:13: note: to match this '('
blas_s_sasum(int argc, VALUE const argv[], VALUE UNUSED(mod))
^
Using gcc-11.2 on Ubuntu, gcc-8.5 on Rocky
Seems to have a problem with what looks like an undefined UNUSED() macro
compiling blas.c ruby /root/.rbenv/versions/truffleruby+graalvm-22.3.0/graalvm/languages/ruby/lib/gems/gems/numo-linalg-0.1.7/ext/numo/linalg/blas/gen/cogen.rb -l -o blas_s.c s compiling blas_s.c /root/.rbenv/versions/truffleruby+graalvm-22.3.0/graalvm/languages/ruby/lib/gems/gems/numo-linalg-0.1.7/ext/numo/linalg/blas/gen/../tmpl/nrm2.c:36:57: error: expected ')' blas_s_snrm2(int argc, VALUE const argv[], VALUE UNUSED(mod)) ^ /root/.rbenv/versions/truffleruby+graalvm-22.3.0/graalvm/languages/ruby/lib/gems/gems/numo-linalg-0.1.7/ext/numo/linalg/blas/gen/../tmpl/nrm2.c:36:13: note: to match this '(' blas_s_snrm2(int argc, VALUE const argv[], VALUE UNUSED(mod)) ^ /root/.rbenv/versions/truffleruby+graalvm-22.3.0/graalvm/languages/ruby/lib/gems/gems/numo-linalg-0.1.7/ext/numo/linalg/blas/gen/../tmpl/nrm2.c:34:57: error: expected ')' blas_s_sasum(int argc, VALUE const argv[], VALUE UNUSED(mod)) ^ /root/.rbenv/versions/truffleruby+graalvm-22.3.0/graalvm/languages/ruby/lib/gems/gems/numo-linalg-0.1.7/ext/numo/linalg/blas/gen/../tmpl/nrm2.c:34:13: note: to match this '(' blas_s_sasum(int argc, VALUE const argv[], VALUE UNUSED(mod)) ^