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

Way to pass down os.name and os.arch #295

Open
christian-lefty opened this issue Nov 24, 2020 · 0 comments
Open

Way to pass down os.name and os.arch #295

christian-lefty opened this issue Nov 24, 2020 · 0 comments

Comments

@christian-lefty
Copy link

Hello,

Given the following dependency:

org.nd4j:
nd4j-native-platform:
version: "1.0.0-beta7"
lang: java

It fails with error:

java.lang.RuntimeException: we could not download the artifact org.bytedeco:javacpp:jar:${os.name}-${os.arch}:1.5.3 to compute the hash for digest type Sha1 with error com.github.johnynek.bazel_deps.CoursierResolver$FileErrorException: not found: https://repo.maven.apache.org/maven2/org/bytedeco/javacpp/1.5.3/javacpp-1.5.3-${os.name}-${os.arch}.jar

Is there a way to pass down os.name and os.arch using bazel-deps?

Best

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