diff --git a/WORKSPACE b/WORKSPACE index 7dba001..3a30f99 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -3,15 +3,15 @@ workspace(name = "org_tensorflow_neural_structured_learning") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # farmhash -load("//research/carls/third_party/farmhash:workspace.bzl", farmhash = "repo") +load("//research/carls/knowledge_bank/farmhash:workspace.bzl", farmhash = "repo") farmhash() # leveldb -load("//research/carls/third_party/leveldb:workspace.bzl", leveldb = "repo") +load("//research/carls/knowledge_bank/leveldb:workspace.bzl", leveldb = "repo") leveldb() # rocksdb -load("//research/carls/third_party/rocksdb:workspace.bzl", rocksdb = "repo") +load("//research/carls/knowledge_bank/rocksdb:workspace.bzl", rocksdb = "repo") rocksdb() # absl diff --git a/research/carls/bazel/repo.bzl b/research/carls/bazel/repo.bzl index bbc3308..2b0d431 100644 --- a/research/carls/bazel/repo.bzl +++ b/research/carls/bazel/repo.bzl @@ -188,7 +188,7 @@ cc_library( def _protobuf_includes_repo_impl(repo_ctx): tf_include_path = _find_tf_include_path(repo_ctx) repo_ctx.symlink(tf_include_path, "tf_includes") - repo_ctx.symlink(Label("//research/carls/third_party:protobuf.BUILD"), "BUILD") + repo_ctx.symlink(Label("//research/carls:protobuf.BUILD"), "BUILD") def _tensorflow_includes_repo_impl(repo_ctx): tf_include_path = _find_tf_include_path(repo_ctx) diff --git a/research/carls/third_party/farmhash/BUILD b/research/carls/knowledge_bank/farmhash/BUILD similarity index 100% rename from research/carls/third_party/farmhash/BUILD rename to research/carls/knowledge_bank/farmhash/BUILD diff --git a/research/carls/third_party/farmhash/farmhash.BUILD b/research/carls/knowledge_bank/farmhash/farmhash.BUILD similarity index 100% rename from research/carls/third_party/farmhash/farmhash.BUILD rename to research/carls/knowledge_bank/farmhash/farmhash.BUILD diff --git a/research/carls/third_party/farmhash/workspace.bzl b/research/carls/knowledge_bank/farmhash/workspace.bzl similarity index 91% rename from research/carls/third_party/farmhash/workspace.bzl rename to research/carls/knowledge_bank/farmhash/workspace.bzl index c60963f..b3b2750 100644 --- a/research/carls/third_party/farmhash/workspace.bzl +++ b/research/carls/knowledge_bank/farmhash/workspace.bzl @@ -11,7 +11,7 @@ def repo(): http_archive( name = "farmhash_archive", - build_file = "//research/carls/third_party/farmhash:farmhash.BUILD", + build_file = "//research/carls/knowledge_bank/farmhash:farmhash.BUILD", sha256 = FARMHASH_SHA256, strip_prefix = "farmhash-{commit}".format(commit = FARMHASH_COMMIT), urls = [ diff --git a/research/carls/third_party/leveldb/BUILD b/research/carls/knowledge_bank/leveldb/BUILD similarity index 100% rename from research/carls/third_party/leveldb/BUILD rename to research/carls/knowledge_bank/leveldb/BUILD diff --git a/research/carls/third_party/leveldb/leveldb.BUILD b/research/carls/knowledge_bank/leveldb/leveldb.BUILD similarity index 100% rename from research/carls/third_party/leveldb/leveldb.BUILD rename to research/carls/knowledge_bank/leveldb/leveldb.BUILD diff --git a/research/carls/third_party/leveldb/workspace.bzl b/research/carls/knowledge_bank/leveldb/workspace.bzl similarity index 90% rename from research/carls/third_party/leveldb/workspace.bzl rename to research/carls/knowledge_bank/leveldb/workspace.bzl index 3f5da10..ff4df4e 100644 --- a/research/carls/third_party/leveldb/workspace.bzl +++ b/research/carls/knowledge_bank/leveldb/workspace.bzl @@ -11,7 +11,7 @@ def repo(): http_archive( name = "com_google_leveldb", - build_file = "//research/carls/third_party/leveldb:leveldb.BUILD", + build_file = "//research/carls/knowledge_bank/leveldb:leveldb.BUILD", patch_cmds = [ """mkdir leveldb; cp include/leveldb/* leveldb""", ], diff --git a/research/carls/third_party/rocksdb/BUILD b/research/carls/knowledge_bank/rocksdb/BUILD similarity index 100% rename from research/carls/third_party/rocksdb/BUILD rename to research/carls/knowledge_bank/rocksdb/BUILD diff --git a/research/carls/third_party/rocksdb/rocksdb.BUILD b/research/carls/knowledge_bank/rocksdb/rocksdb.BUILD similarity index 100% rename from research/carls/third_party/rocksdb/rocksdb.BUILD rename to research/carls/knowledge_bank/rocksdb/rocksdb.BUILD diff --git a/research/carls/third_party/rocksdb/tbb.BUILD b/research/carls/knowledge_bank/rocksdb/tbb.BUILD similarity index 100% rename from research/carls/third_party/rocksdb/tbb.BUILD rename to research/carls/knowledge_bank/rocksdb/tbb.BUILD diff --git a/research/carls/third_party/rocksdb/workspace.bzl b/research/carls/knowledge_bank/rocksdb/workspace.bzl similarity index 88% rename from research/carls/third_party/rocksdb/workspace.bzl rename to research/carls/knowledge_bank/rocksdb/workspace.bzl index e28c84f..a66030f 100644 --- a/research/carls/third_party/rocksdb/workspace.bzl +++ b/research/carls/knowledge_bank/rocksdb/workspace.bzl @@ -10,7 +10,7 @@ def repo(): http_archive( name = "rocksdb", - build_file = "//research/carls/third_party/rocksdb:rocksdb.BUILD", + build_file = "//research/carls/knowledge_bank/rocksdb:rocksdb.BUILD", sha256 = ROCKSDB_SHA256, strip_prefix = "rocksdb-{version}".format(version = ROCKSDB_VERSION), url = "https://github.com/facebook/rocksdb/archive/v{version}.tar.gz".format(version = ROCKSDB_VERSION), @@ -19,7 +19,7 @@ def repo(): # A dependency of rocksdb that is required for rocksdb::ClockCache. http_archive( name = "tbb", - build_file = "//research/carls/third_party/rocksdb:tbb.BUILD", + build_file = "//research/carls/knowledge_bank/rocksdb:tbb.BUILD", sha256 = "b182c73caaaabc44ddc5ad13113aca7e453af73c1690e4061f71dfe4935d74e8", strip_prefix = "oneTBB-2021.1.1", url = "https://github.com/oneapi-src/oneTBB/archive/v2021.1.1.tar.gz", diff --git a/research/carls/third_party/protobuf.BUILD b/research/carls/protobuf.BUILD similarity index 100% rename from research/carls/third_party/protobuf.BUILD rename to research/carls/protobuf.BUILD diff --git a/research/carls/third_party/BUILD b/research/carls/third_party/BUILD deleted file mode 100644 index 34b9506..0000000 --- a/research/carls/third_party/BUILD +++ /dev/null @@ -1 +0,0 @@ -package(licenses = ["notice"])