Skip to content

Commit

Permalink
Remove the manual library copy on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender committed Jun 13, 2023
1 parent 0a697d8 commit cc62e1c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ jobs:
CIBW_MANYLINUX_AARCH64_IMAGE: ${{ matrix.python.manylinux['arm'] }}
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.python.manylinux['intel'] }}
CIBW_ENVIRONMENT_WINDOWS: "CP_USE_GREEN_REAPER=1"
CIBW_ENVIRONMENT_LINUX: CP_USE_GREEN_REAPER="1" CPATH=/project/site-packages LIBRARY_PATH=/project/libs
CIBW_ENVIRONMENT_LINUX: CP_USE_GREEN_REAPER="1" CPATH=/project/site-packages LIBRARY_PATH=/project/libs LD_LIBRARY_PATH=/project/libs
CIBW_BEFORE_BUILD_LINUX: |
python -m pip install --upgrade pip
pip install -i https://pypi.chia.net/simple/ bladebit
Expand Down
3 changes: 0 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ def build_extension(self, ext):
["cmake", "--build", "."] + build_args, cwd=self.build_temp
)

if os.getenv("CP_USE_GREEN_REAPER") == "1" and platform.system() == "Linux":
subprocess.check_call(["cp", "libs/libbladebit_harvester.so", f'{str(extdir)}/'])


class get_pybind_include(object):
"""Helper class to determine the pybind11 include path
Expand Down

0 comments on commit cc62e1c

Please sign in to comment.