-
Notifications
You must be signed in to change notification settings - Fork 478
Fix #11631 - Latest release failed on Windows arm64 and on mac #11632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
c80c7e0
5a1db02
052b269
591e833
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -146,10 +146,13 @@ jobs: | |
| shell: bash | ||
| run: | | ||
| set -x | ||
| Python_EXECUTABLE="${{ steps.setup-python.outputs.python-path }}" | ||
| Python_EXECUTABLE="${Python_EXECUTABLE//\\//}" | ||
| cmake -G "Visual Studio 17 2022" -A ${{ matrix.vs-generator }} \ | ||
| -DLINK_WITH_PYTHON:BOOL=ON -DPYTHON_CLI:BOOL=ON \ | ||
| -DPython_REQUIRED_VERSION:STRING=${{ steps.setup-python.outputs.python-version }} \ | ||
| -DPython_ROOT_DIR:PATH=$RUNNER_TOOL_CACHE/Python/${{ steps.setup-python.outputs.python-version }}/${{ matrix.python-arch }}/ \ | ||
| -DPython_EXECUTABLE:FILEPATH="$Python_EXECUTABLE" \ | ||
| -DPython_ROOT_DIR:PATH="$(dirname "$Python_EXECUTABLE")" \ | ||
|
Comment on lines
+149
to
+155
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Explicitly pass Python_EXECUTABLE to avoid a broken FindPython (new in cmake 4.3.0) arm64 detection on windows passing I fixed the issue upstream in cmake but it won't be released soon enough: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/12158 (I'm also doing forward slashes now, as I thought it could be the root cause and it's more correct for cmake) |
||
| -DBUILD_FORTRAN:BOOL=ON -DBUILD_PACKAGE:BOOL=ON \ | ||
| -DENABLE_HARDENED_RUNTIME:BOOL=${{ matrix.enable_hardened_runtime }} \ | ||
| -DDOCUMENTATION_BUILD:STRING="BuildWithAll" -DTEX_INTERACTION:STRING="batchmode" \ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the mac failure was actually a fluke to begin with.
But I did go into (a very lenghty) endeavor where I updated my patched qtifw to be based on qtifw 4.11.0, and qt 6.9.1. https://github.com/jmarrec/QtIFW-fixup/releases/tag/v4.11.0-Patched