-
-
Notifications
You must be signed in to change notification settings - Fork 36
Support Windows ARM64 platform #68
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
base: main
Are you sure you want to change the base?
Support Windows ARM64 platform #68
Conversation
…nda-forge-pinning 2025.04.20.22.28.24
|
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipe/meta.yaml:
For recipe/meta.yaml:
This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/15284605376. Examine the logs at this URL for more detail. |
|
@conda-forge-admin rerender. |
…nda-forge-pinning 2025.05.27.18.50.22
|
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( I do have some suggestions for making it better though... For recipe/meta.yaml:
This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/18568035646. Examine the logs at this URL for more detail. |
recipe/bld.bat
Outdated
| nmake nmakehlp.exe | ||
| nmake -f makefile.vc INSTALLDIR=%LIBRARY_PREFIX% MACHINE=%MACHINE% release | ||
| nmake -f makefile.vc INSTALLDIR=%LIBRARY_PREFIX% MACHINE=%MACHINE% install | ||
| nmake nmakehlp.exe MACHINE=%BUILD_MACHINE% |
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.
@finnagin, how can I compile an executable for the build architecture (x86 here) to be used in the compilation process?
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.
@isuruf Looks like maybe you are trying to cross-compile arm64 or x64 on x86? Is that a correct read of the steps? If so you may need to run vcvarsall.bat x86_arm64 or vcvarsall.bat x86_x64 first.
If you are specifically trying to compile nmakehlp.exe for x86 and not cross-compile it you may need to pass MACHINE=IX86. Looking at the makefile.vc inside the tcl8.6.13-src.tar.gz file that meta.yml points to I see this:
# MACHINE=(ALPHA|AMD64|ARM64|IA64|IX86)
# Set the machine type used for the compiler, linker, and
# resource compiler. This hook is needed to tell the tools
# when alternate platforms are requested. IX86 is the default
# when not specified. If the CPU environment variable has been
# set (ie: recent Platform SDK) then MACHINE is set from CPU.
Are either of those things helpful/answer your question?
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.
We are trying to cross-compile for arm64 on x64. (I meant x64 and not x86 in my message)
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.
Ping @finnagin
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.
Sorry @isuruf, somehow missed the follow up message!
We are trying to cross-compile for arm64 on x64. (I meant x64 and not x86 in my message)
In that case, based on what I've had to do in the past, you would run vcvarsall.bat x64, then pass MACHINE=AMD64 into nmake nmakehlp.exe MACHINE=AMD64 . Then, run vcvarsall.bat x64_arm64, set MACHINE=ARM64 and run what the cross-compile build for arm64.
|
@conda-forge-admin rerender |
This feedstock is being rebuilt as part of the windows arm migration.
Feel free to merge the PR if CI is all green, but please don't close it
without reaching out the the ARM Windows team first at
@conda-forge/help-win-arm64.If this PR was opened in error or needs to be updated please add the
bot-rerunlabel to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase@conda-forge-admin, please rerun botin a PR comment to have theconda-forge-adminadd it for you.This PR was created by the regro-cf-autotick-bot. The regro-cf-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. Feel free to drop us a line if there are any issues! This PR was generated by https://github.com/regro/cf-scripts/actions/runs/14577903030 - please use this URL for debugging.