Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

common --enable_bzlmod

# This macro is needed in order for mlmd to build with ZetaSQL which can only
# be compiled upon c++17 or higher.
build --cxxopt="-std=c++17"
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
bazel-bin
bazel-ml-metadata
bazel-out
bazel-testlogs
15 changes: 15 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
bazel_dep(name = "abseil-cpp", version = "20240116.2")
bazel_dep(name = "gflags", version = "2.2.2")
bazel_dep(name = "glog", version = "0.7.1")
bazel_dep(name = "grpc", version = "1.63.1")
bazel_dep(name = "protobuf", version = "3.19.2")
bazel_dep(name = "re2", version = "2021-09-01")
# bazel_dep(name = "rules_cc", version = "0.0.8")
bazel_dep(name = "rules_foreign_cc", version = "0.10.1")
bazel_dep(name = "rules_go", version = "0.48.1")
bazel_dep(name = "rules_proto_grpc_cpp", version = "5.0.0-alpha2")

####################
# Dev dependencies #
####################
bazel_dep(name = "googletest", version = "1.14.0", dev_dependency = True)
1,654 changes: 1,654 additions & 0 deletions MODULE.bazel.lock

Large diffs are not rendered by default.

285 changes: 0 additions & 285 deletions WORKSPACE

This file was deleted.

15 changes: 1 addition & 14 deletions ml_metadata/.bazelversion
Original file line number Diff line number Diff line change
@@ -1,14 +1 @@
# Copyright 2022 Google LLC. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
6.1.0
7.2.*
Loading