Skip to content
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

Reproducible build process for cpt-bin on Windows #40

Open
aaron-kaplan opened this issue Sep 22, 2023 · 3 comments
Open

Reproducible build process for cpt-bin on Windows #40

aaron-kaplan opened this issue Sep 22, 2023 · 3 comments
Labels
dev tools Tools for pycpt maintainers

Comments

@aaron-kaplan
Copy link
Contributor

The process for building linux and macos packages of cpt-bin is entirely within conda-build, but the process for Windows currently involves some manual setup steps, because not all of the build tools are packaged for conda. Need to automate those steps somehow. Create the missing conda packages? Script the creation of a properly configured Windows VM?

@aaron-kaplan aaron-kaplan added the dev tools Tools for pycpt maintainers label Sep 22, 2023
@aaron-kaplan
Copy link
Contributor Author

aaron-kaplan commented Jan 10, 2025

Notes on the Windows build situation, which seems to have improved since I last looked:

conda-forge/conda-forge.github.io#1891 (comment)
conda-forge/emacs-feedstock#54 (comment)
conda-forge/conda-forge.github.io#1044 (comment)

@owinebar
Copy link

See conda-forge/emacs-feedstock#96 for build bat and sed script you can use to run a build.sh script with the m2-* tools in your Windows build environment. You'll have to put any Windows specific configuration in the build.sh (alongside Linux and OS X cases). Also, I haven't worked out how to handle testing, if there's a command list that uses environment variables. Those will probably have to be put in a separate shell script, with another batch file analagous to bld.bat.

Basically, the cygwin library is allergic to having more than one copy of itself on the path (regardless of version), which is antithetical to how conda works in general.

@owinebar
Copy link

Ok, see conda-forge/staged-recipes#28882 for general-purpose scripts you will be able to put in your build/test environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev tools Tools for pycpt maintainers
Projects
None yet
Development

No branches or pull requests

2 participants