We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am using bazel 7.1.1. I am trying to use an external repo for GMP (GNU multiprecision) with bazel. I cloned this repo:
cd ~/dev git clone https://github.com/robin-thomas/bazelify-gmp.git
When I try to compile it, I get an error with M4:
cd ~/dev/bazelify-gmp; bazel test //gmp_6_1_2/... --sandbox_debug --verbose_failures Computing main repo mapping: ERROR: Traceback (most recent call last): File "/private/var/tmp/_bazel_jordansmith/dc88ff116f8da0e038742f8fca8fbbf9/external/io_bazel_rules_m4/m4.bzl", line 82, column 31, in "template": attr.label( Error in label: label() got unexpected keyword argument 'single_file' ERROR: Error computing the main repository mapping: initialization of module 'm4.bzl' failed
Thank you for your help, Jordan
The text was updated successfully, but these errors were encountered:
That repo is depending on an extremely old (and untagged) version of rules_m4. From https://github.com/robin-thomas/bazelify-gmp/blob/master/WORKSPACE:
rules_m4
git_repository( name = "io_bazel_rules_m4", remote = "https://github.com/jmillikin/rules_m4", commit = "2bf69df77dfb6b3ba6b7fc95c304b0dc279375bc", )
Please try updating the dependency to one of the released versions of rules_m4.
Sorry, something went wrong.
No branches or pull requests
I am using bazel 7.1.1. I am trying to use an external repo for GMP (GNU multiprecision) with bazel. I cloned this repo:
cd ~/dev
git clone https://github.com/robin-thomas/bazelify-gmp.git
When I try to compile it, I get an error with M4:
cd ~/dev/bazelify-gmp; bazel test //gmp_6_1_2/... --sandbox_debug --verbose_failures
Computing main repo mapping:
ERROR: Traceback (most recent call last):
File "/private/var/tmp/_bazel_jordansmith/dc88ff116f8da0e038742f8fca8fbbf9/external/io_bazel_rules_m4/m4.bzl", line 82, column 31, in
"template": attr.label(
Error in label: label() got unexpected keyword argument 'single_file'
ERROR: Error computing the main repository mapping: initialization of module 'm4.bzl' failed
Thank you for your help,
Jordan
The text was updated successfully, but these errors were encountered: