Merged
Conversation
MaxRayskiy
commented
Sep 15, 2022
| 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: |
Contributor
Author
There was a problem hiding this comment.
do not wait for all jobs
MaxRayskiy
commented
Sep 15, 2022
| - 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 |
Contributor
Author
There was a problem hiding this comment.
mv to Dockerfile
MaxRayskiy
commented
Sep 15, 2022
| - 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 |
Contributor
Author
There was a problem hiding this comment.
mv to Dockerfile
MaxRayskiy
commented
Sep 15, 2022
| ./configure | ||
| make install | ||
| cd .. | ||
| python3 -m pip install --upgrade pip |
MaxRayskiy
commented
Sep 15, 2022
| python3 setup.py bdist_wheel | ||
| python3 -m auditwheel repair --plat manylinux_2_31_x86_64 ./dist/*.whl | ||
| cd ../../.. | ||
| mv ./scripts/wheel/meshlib/wheelhouse/*.whl ./ |
MaxRayskiy
commented
Sep 15, 2022
MaxRayskiy
commented
Sep 15, 2022
| 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") |
MaxRayskiy
commented
Sep 15, 2022
scripts/wheel/create_wheel.py
Outdated
| @@ -0,0 +1,82 @@ | |||
| import argparse | |||
Contributor
Author
There was a problem hiding this comment.
mb merge with setup.py?
Contributor
Author
|
mb add tests for .whl? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.