Skip to content

Pip: add win10#497

Merged
MaxRayskiy merged 29 commits intomasterfrom
pip-packages
Sep 21, 2022
Merged

Pip: add win10#497
MaxRayskiy merged 29 commits intomasterfrom
pip-packages

Conversation

@MaxRayskiy
Copy link
Contributor

No description provided.

@MaxRayskiy MaxRayskiy added the full-ci run all steps label Sep 14, 2022
@MaxRayskiy MaxRayskiy requested a review from Grantim September 15, 2022 16:12
upload-wheels:
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'full-ci') }}
needs: [versioning-and-release-url, update-win-version, update-deb-version, update-rpm-version]
needs:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do not wait for all jobs

- name: Create and fix Wheel
if: ${{ inputs.UPLOAD_ARTIFACTS && matrix.compiler == 'GCC 10' && matrix.config == 'Release'}}
run: |
curl http://nixos.org/releases/patchelf/patchelf-0.10/patchelf-0.10.tar.bz2 -L -o patchelf-0.10.tar.bz2
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mv to Dockerfile

- name: Create and fix Wheel
if: ${{ inputs.UPLOAD_ARTIFACTS && matrix.config == 'Release' }}
run: |
docker exec meshlib-win py -3.10 -m pip install --upgrade pip
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mv to Dockerfile

./configure
make install
cd ..
python3 -m pip install --upgrade pip
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

python3 setup.py bdist_wheel
python3 -m auditwheel repair --plat manylinux_2_31_x86_64 ./dist/*.whl
cd ../../..
mv ./scripts/wheel/meshlib/wheelhouse/*.whl ./
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

??

IF(APPLE)
include_directories(${HOMEBREW_PREFIX}/include)
set(CMAKE_INSTALL_RPATH "@loader_path;@loader_path/../;@loader_path/meshlib;${THIRDPARTY_LIB_DIR}")
set(CMAKE_INSTALL_RPATH "@loader_path;@loader_path/../;@loader_path/meshlib;${THIRDPARTY_LIB_DIR};${CMAKE_BINARY_DIR}/bin")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comment

@@ -0,0 +1,82 @@
import argparse
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mb merge with setup.py?

@MaxRayskiy
Copy link
Contributor Author

mb add tests for .whl?

@MaxRayskiy MaxRayskiy changed the title Pip: add macos and win10 Pip: add win10 Sep 21, 2022
@MaxRayskiy MaxRayskiy merged commit 0b74224 into master Sep 21, 2022
@MaxRayskiy MaxRayskiy deleted the pip-packages branch September 21, 2022 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

full-ci run all steps

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant