From 9dc7ae7b52a17b75e3f9249ea85ba578bf42f255 Mon Sep 17 00:00:00 2001 From: Paul Wankadia Date: Fri, 4 Aug 2023 20:30:40 +0000 Subject: [PATCH] Minor Bazel cleanups. Change-Id: Ie9005616e61a7b97f15c3fa957decb315b901fc8 Reviewed-on: https://code-review.googlesource.com/c/re2/+/61650 Reviewed-by: Paul Wankadia Reviewed-by: Alex Chernyakhovsky --- .bazelrc | 3 --- BUILD.bazel | 2 +- WORKSPACE.bazel | 7 +++++-- app/BUILD.bazel | 2 +- python/BUILD.bazel | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.bazelrc b/.bazelrc index a5046412c..814163970 100644 --- a/.bazelrc +++ b/.bazelrc @@ -12,8 +12,5 @@ build:linux --cxxopt=-std=c++14 build:macos --cxxopt=-std=c++14 build:windows --cxxopt=/std:c++14 -# Print command lines for build commands. -build --subcommands=pretty_print - # Print test logs for failed tests. test --test_output=errors diff --git a/BUILD.bazel b/BUILD.bazel index 3f6dafe4c..23a752a18 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -2,7 +2,7 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -# Bazel (http://bazel.io/) BUILD file for RE2. +# Bazel (http://bazel.build/) BUILD file for RE2. licenses(["notice"]) diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index c89e979a9..bf67dc4ee 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel @@ -2,7 +2,7 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -# Bazel (http://bazel.io/) WORKSPACE file for RE2. +# Bazel (http://bazel.build/) WORKSPACE file for RE2. workspace(name = "com_googlesource_code_re2") @@ -59,4 +59,7 @@ http_archive( load("@pybind11_bazel//:python_configure.bzl", "python_configure") -python_configure(name = "local_config_python") +python_configure( + name = "local_config_python", + python_version = "3", +) diff --git a/app/BUILD.bazel b/app/BUILD.bazel index 50e7e2c92..042f5a96b 100644 --- a/app/BUILD.bazel +++ b/app/BUILD.bazel @@ -2,7 +2,7 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -# Bazel (http://bazel.io/) BUILD file for RE2 app. +# Bazel (http://bazel.build/) BUILD file for RE2 app. cc_binary( name = "_re2.js", diff --git a/python/BUILD.bazel b/python/BUILD.bazel index 73547c70e..3719be022 100644 --- a/python/BUILD.bazel +++ b/python/BUILD.bazel @@ -2,7 +2,7 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -# Bazel (http://bazel.io/) BUILD file for RE2 Python. +# Bazel (http://bazel.build/) BUILD file for RE2 Python. load("@pybind11_bazel//:build_defs.bzl", "pybind_extension") load("@rules_python//python:defs.bzl", "py_library", "py_test")