Skip to content

Commit

Permalink
Do a relenv fetch before build
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Oct 23, 2023
1 parent 03793fa commit 6b7598f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/relenv_gdb/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ def build_gdb(prefix):

def build_wheel(wheel_directory, metadata_directory=None, config_settings=None):
"""PEP 517 wheel creation hook."""
relenv.fetch(
relenv.common.__version__,
relenv.common.get_triplet(relenv.common.build_arch()),
)
static_build_dir = os.environ.get("PY_STATIC_BUILD_DIR", "")
if static_build_dir:
relenvdir = (pathlib.Path(static_build_dir) / "gdb").resolve()
Expand Down

0 comments on commit 6b7598f

Please sign in to comment.