mirror of
https://github.com/ROCm/jax.git
synced 2025-04-19 05:16:06 +00:00
revive WORKSPACE file
This commit is contained in:
parent
bd8bef6849
commit
7093c4740f
@ -0,0 +1,36 @@
|
||||
http_archive(
|
||||
name = "io_bazel_rules_closure",
|
||||
sha256 = "a38539c5b5c358548e75b44141b4ab637bba7c4dc02b46b1f62a96d6433f56ae",
|
||||
strip_prefix = "rules_closure-dbb96841cc0a5fb2664c37822803b06dab20c7d1",
|
||||
urls = [
|
||||
"https://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/dbb96841cc0a5fb2664c37822803b06dab20c7d1.tar.gz",
|
||||
"https://github.com/bazelbuild/rules_closure/archive/dbb96841cc0a5fb2664c37822803b06dab20c7d1.tar.gz",
|
||||
],
|
||||
)
|
||||
|
||||
# To update TensorFlow to a new revision,
|
||||
# a) update URL and strip_prefix to the new git commit hash
|
||||
# b) get the sha256 hash of the commit by running:
|
||||
# curl -L https://github.com/tensorflow/tensorflow/archive/<git hash>.tar.gz | sha256sum
|
||||
# and update the sha256 with the result.
|
||||
http_archive(
|
||||
name = "org_tensorflow",
|
||||
sha256 = "dccd52030b173ee803191134215f712df7b18ee97a7c7d00437014002d29c26b",
|
||||
strip_prefix = "tensorflow-8ccf1ebdbf4475bc7af6d79b2fa7e1fd8221e3fd",
|
||||
urls = [
|
||||
"https://github.com/tensorflow/tensorflow/archive/8ccf1ebdbf4475bc7af6d79b2fa7e1fd8221e3fd.tar.gz",
|
||||
],
|
||||
)
|
||||
|
||||
# For development, one can use a local TF repository instead.
|
||||
# local_repository(
|
||||
# name = "org_tensorflow",
|
||||
# path = "tensorflow",
|
||||
# )
|
||||
|
||||
load("@org_tensorflow//tensorflow:workspace.bzl", "tf_workspace")
|
||||
|
||||
tf_workspace(
|
||||
path_prefix = "",
|
||||
tf_repo_name = "org_tensorflow",
|
||||
)
|
@ -1,4 +1,5 @@
|
||||
#!/bin/bash -xev
|
||||
#!/bin/bash
|
||||
set -xev
|
||||
JAXLIB_VERSION=$(sed -n "s/^ \+version=[']\(.*\)['],$/\\1/p" jax/build/setup.py)
|
||||
|
||||
PYTHON_VERSIONS="py2 py3"
|
||||
|
Loading…
x
Reference in New Issue
Block a user