-
-
Notifications
You must be signed in to change notification settings - Fork 120
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
Add Option to deactivate the CPack directives #292
base: master
Are you sure you want to change the base?
Conversation
Hello, why would we want to install VS runtime files as well ? Should it be the opposite by default, and only install them if requested ? Thanks, -- |
Hi @fbordeu , sorry I let this one drag on. I'm trying to familiarize myself with all this building process. Could you please clarify the path that is taken when cmake copies the VS files ? Do you not need Cpack when you build your conda package ? Also, it seems that there is an option to have Cpack ignore certain files https://cmake.org/cmake/help/latest/module/CPack.html#variable:CPACK_SOURCE_IGNORE_FILES Thanks, |
In conda packages, conda-build is responsible of the software packaging. son cpack is not needed and must not be activated. This MR add the possibility to disconnect cpack directives (the default behavior is not modified). |
what I do not understand is : the cmake rule I'm wondering if |
ok, (if my memory is good) during the build no cpack directive are executed. but during "make install", the vs files are installed on the install directory. Here the install directory is a prefix defined by the conda-build system. To make a correct conda-forge package the recipe must install only the files responsible of, no other files. VS files are added as dependencies so the conda installer can solve the dependency tree and install all the neede dependencies. |
If I understand correctly, you build from sources, you do It really makes no sense to me. I'm going to open an issue to track this out of the PR. |
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.
For future reference: the option should probably be deactivated by default. We will investigate further in a separate issue.
No cpack is used during the conda-build. the steps are: git clone |
Hello,
Little change to add an option to the cmake files to only install compiled files. In the current cmake files the VisualStudio runtime files are installed. This make it impossible to build a package unsing the conda-force infrastructure on windows (the packages must ship only compiled libs).
MR of the new recipe for mmg for conda-forge. conda-forge/mmgsuite-feedstock#15
Felipe