Skip to content
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

numo-linalg doesn't build/install on Ubuntu 22.04 or Rocky Linux 9 #47

Open
jcasu opened this issue Jan 23, 2023 · 0 comments
Open

numo-linalg doesn't build/install on Ubuntu 22.04 or Rocky Linux 9 #47

jcasu opened this issue Jan 23, 2023 · 0 comments

Comments

@jcasu
Copy link

jcasu commented Jan 23, 2023

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))
^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant