Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11_abseil
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11_abseil
Commits
8e9b6c5a
Commit
8e9b6c5a
authored
Dec 21, 2021
by
Ken Oslund
Committed by
Copybara-Service
Dec 21, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Internal change
PiperOrigin-RevId: 417662048
parent
d4924c01
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
12 deletions
+21
-12
WORKSPACE
+9
-9
scripts/build_and_run_tests.sh
+12
-3
No files found.
WORKSPACE
View file @
8e9b6c5a
...
@@ -10,10 +10,10 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
...
@@ -10,10 +10,10 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
http_archive(
name = "com_google_absl",
name = "com_google_absl",
sha256 = "
137836d52edb41891cc6d137a228278ae30e76607e3cbd6b8cdb653743c0823e
", # SHARED_ABSL_SHA
sha256 = "
dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4
", # SHARED_ABSL_SHA
strip_prefix = "abseil-cpp-
6df644c56f31b100bf731e27c3825069745651e3
",
strip_prefix = "abseil-cpp-
20211102.0
",
urls = [
urls = [
"https://github.com/abseil/abseil-cpp/archive/
6df644c56f31b100bf731e27c3825069745651e3.tar.gz",
"https://github.com/abseil/abseil-cpp/archive/
refs/tags/20211102.0.tar.gz"
],
],
)
)
...
@@ -21,18 +21,18 @@ http_archive(
...
@@ -21,18 +21,18 @@ http_archive(
# See https://github.com/pybind/pybind11_bazel
# See https://github.com/pybind/pybind11_bazel
http_archive(
http_archive(
name = "pybind11_bazel",
name = "pybind11_bazel",
strip_prefix = "pybind11_bazel-
26973c0ff320cb4b39e45bc3e4297b82bc3a6c09
",
strip_prefix = "pybind11_bazel-
72cbbf1fbc830e487e3012862b7b720001b70672
",
sha256 = "
8f546c03bdd55d0e88cb491ddfbabe5aeb087f87de2fbf441391d70483affe39
",
sha256 = "
516c1b3a10d87740d2b7de6f121f8e19dde2c372ecbfe59aef44cd1872c10395
",
urls = ["https://github.com/pybind/pybind11_bazel/archive/
26973c0ff320cb4b39e45bc3e4297b82bc3a6c09
.tar.gz"],
urls = ["https://github.com/pybind/pybind11_bazel/archive/
72cbbf1fbc830e487e3012862b7b720001b70672
.tar.gz"],
)
)
# We still require the pybind library.
# We still require the pybind library.
http_archive(
http_archive(
name = "pybind11",
name = "pybind11",
build_file = "@pybind11_bazel//:pybind11.BUILD",
build_file = "@pybind11_bazel//:pybind11.BUILD",
strip_prefix = "pybind11-2.
6.2
",
strip_prefix = "pybind11-2.
8.1
",
sha256 = "
8ff2fff22df038f5cd02cea8af56622bc67f5b64534f1b83b9f133b8366acff2
",
sha256 = "
f1bcc07caa568eb312411dde5308b1e250bd0e1bc020fae855bf9f43209940cc
",
urls = ["https://github.com/pybind/pybind11/archive/
v2.6.2
.tar.gz"],
urls = ["https://github.com/pybind/pybind11/archive/
refs/tags/v2.8.1
.tar.gz"],
)
)
load("@pybind11_bazel//:python_configure.bzl", "python_configure")
load("@pybind11_bazel//:python_configure.bzl", "python_configure")
python_configure(name = "local_config_python")
python_configure(name = "local_config_python")
scripts/build_and_run_tests.sh
View file @
8e9b6c5a
...
@@ -11,10 +11,19 @@ set -e # exit when any command fails
...
@@ -11,10 +11,19 @@ set -e # exit when any command fails
MYDIR
=
"
$(
dirname
"
$(
realpath
"
$0
"
)
"
)
"
MYDIR
=
"
$(
dirname
"
$(
realpath
"
$0
"
)
"
)
"
BAZEL
=
$(
which bazel
)
BAZEL
=
$(
which bazel
)
if
[
!
-x
$BAZEL
]
if
[
[
-z
$BAZEL
||
!
-x
$BAZEL
]
]
then
then
echo
-n
"Bazel not found (bazel (https://bazel.build/) is needed to "
echo
-n
'Bazel not found (bazel (https://bazel.build/) is needed to '
echo
"compile & test). Exiting..."
echo
'compile & test). Exiting...'
exit
1
fi
VIRTUAL_ENV_BINARY
=
$(
which virtualenv
)
if
[[
-z
$VIRTUAL_ENV_BINARY
||
!
-x
$VIRTUAL_ENV_BINARY
]]
then
echo
-n
'virtualenv command not found '
echo
-n
'(try `python3 -m pip install virtualenv`, possibly as root). '
echo
'Exiting...'
exit
1
exit
1
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment