Skip to content

Commit

Permalink
Install relenv before wheel build
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Oct 23, 2023
1 parent 6b7598f commit 4c6b1ee
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/package-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,26 @@ jobs:
pkginfo
--user
- name: Install relenv
run: >-
python -m
pip install
relenv
--user
- name: Install relenv toolchain
run: >-
python -m
relenv
toolchain
fetch
- name: Install relenv fetch
run: >-
python -m
relenv
fetch
- name: Echo Build Wheel Command
run: echo "${{ inputs.cmd }}"

Expand Down
8 changes: 4 additions & 4 deletions src/relenv_gdb/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +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()),
)
# relenv.fetch.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 4c6b1ee

Please sign in to comment.