Skip to content

Commit

Permalink
Adopted #17
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 608701939
  • Loading branch information
pybind11_abseil authors authored and copybara-github committed Feb 20, 2024
1 parent 3bd81db commit 2c3afa7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions pybind11_abseil/BUILD
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Pybind11 bindings for the Abseil C++ Common Libraries

# Placeholder: load py_extension
# Placeholder: load py_library
load("@pybind11_bazel//:build_defs.bzl", "pybind_extension", "pybind_library")
load("@pybind11_bazel//:build_defs.bzl", "pybind_library")

package(
default_visibility = ["//visibility:public"],
Expand Down
2 changes: 2 additions & 0 deletions scripts/build_and_run_tests_bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export PYTHON_LIB_PATH=`python3 -c "import sysconfig; print(sysconfig.get_path('
echo "Using PYTHON_BIN_PATH: $PYTHON_BIN_PATH"
echo "Using PYTHON_LIB_PATH: $PYTHON_LIB_PATH"

bazel clean --expunge

BAZEL_CXXOPTS="-std=c++17" bazel test ... --test_output=errors "$@" --enable_bzlmod
BAZEL_CXXOPTS="-std=c++20" bazel test ... --test_output=errors "$@" --enable_bzlmod

Expand Down

0 comments on commit 2c3afa7

Please sign in to comment.