-
Notifications
You must be signed in to change notification settings - Fork 53
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
Attemps to improve Debian builds... #1647
Conversation
Looks good and all tests check out OK, merging |
Hi Peter, |
Argh !
which redefines links of executables in /usr/bin to themselves, because MCCODE_BINDIR=/usr/bin in Debian. |
Indeed, I've been there myself... Manually restoring bash and python links will get you most of the way, but yes likely a reinstall is needed... I guess we should completely avoid the asterisk and only work on an explicit set of files? |
I think the CMakeFiles are basically OK. What messed-up was the postinst/postrm. We should just get rid of these, and as you say, avoid any |
Hi E, The mkdist stuff isused for the “legacy build scripts” of the buildscripts/ folder which is what was used historically for:
Both the current GitHub CI test scripts and conda packages should be unaffected as these use “standard CMake” (with mccode legacy path stuff set to off). I would be in favor of simplifying the postinst/prerm to a bare minimum and better do too little than too much |
(Long term we will ONLY use conda for installations on Windows and macOS - but not all features are ready on windows - dependencies for MCPL (and ncrystal for neutron side )) |
Hi Peter ! Regarding the postinst/postrm, I think we can get rid of the 'launcher' section by the end, as the 'launcher' directory does not exist afaik.
will commit locally, then PR. |
Some changes for the Debian builds. An attempt to see if it builds properly