Skip to content

Commit

Permalink
Fix the build --sdist for loadgen
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh committed Jun 16, 2024
1 parent 87471ee commit f40bc9c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion loadgen/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ build-backend = "setuptools.build_meta:__legacy__"

[tool.cibuildwheel]
environment = "CFLAGS='-std=c++14'"
build = "cp3{7,8,9,10,11}-*"
build = "cp3{7,8,9,10,11,12}-*"
6 changes: 6 additions & 0 deletions loadgen/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
"query_sample_library.h",
"system_under_test.h",
"test_settings.h",
"issue_query_controller.h",
"early_stopping.h",
"query_dispatch_library.h",
]

lib_headers = [
Expand All @@ -49,6 +52,8 @@
"utils.h",
"version.h",
"results.h",
"bindings/c_api.h",
"version_generator.py"
]

lib_sources = [
Expand All @@ -63,6 +68,7 @@
]

lib_bindings = [
"bindings/c_api.cc",
"bindings/python_api.cc",
]

Expand Down
1 change: 0 additions & 1 deletion loadgen/version_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ def generate_loadgen_version_definitions_sha1(ofile, loadgen_root):
sha1s = ""
loadgen_files = (
["/bindings/" + s for s in os.listdir(loadgen_root + "/bindings")] +
["/demos/" + s for s in os.listdir(loadgen_root + "/demos")] +
["/" + s for s in os.listdir(loadgen_root)])
for fn in sorted(loadgen_files):
full_fn = loadgen_root + fn
Expand Down

0 comments on commit f40bc9c

Please sign in to comment.