mirror of
https://github.com/google/benchmark.git
synced 2024-12-25 20:10:13 +08:00
Fix malformed clang invocation in build_ext.run (#1884)
The fix is, unsurprisingly, to not invoke clang at all, because we use Bazel to build everything anyway. This also means that we can drop the setuptools pin.
This commit is contained in:
parent
3d88affa59
commit
b2b0aab464
@ -1,5 +1,5 @@
|
|||||||
[build-system]
|
[build-system]
|
||||||
requires = ["setuptools<73"]
|
requires = ["setuptools"]
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
|
1
setup.py
1
setup.py
@ -77,7 +77,6 @@ class BuildBazelExtension(build_ext.build_ext):
|
|||||||
def run(self):
|
def run(self):
|
||||||
for ext in self.extensions:
|
for ext in self.extensions:
|
||||||
self.bazel_build(ext)
|
self.bazel_build(ext)
|
||||||
super().run()
|
|
||||||
# explicitly call `bazel shutdown` for graceful exit
|
# explicitly call `bazel shutdown` for graceful exit
|
||||||
self.spawn(["bazel", "shutdown"])
|
self.spawn(["bazel", "shutdown"])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user