-
-
Notifications
You must be signed in to change notification settings - Fork 264
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
some fixes #723
some fixes #723
Conversation
fix Issue 12121 - atomicLoad!(MemoryOrder.acq) doesn't require load barrier
a554e77
to
3899c69
Compare
|
Ok added some more fixes esp. for Windows builds, please comment @klickverbot @redstar Summary of lost commit comments: We should document useful llvm flags like -print-before-all, -print-after-all and -pass-remarks-analysis on the wiki etc. |
|
Hmm now I'm (suddenly?!) hitting the "can't find curl.lib" linker problem when building phobos-test-runner. |
| "-I@INCLUDE_INSTALL_DIR@/ldc", | ||
| "-I@INCLUDE_INSTALL_DIR@", | ||
| "-L-L@CMAKE_INSTALL_LIBDIR@", @MULTILIB_ADDITIONAL_INSTALL_PATH@ | ||
| "-I%%ldcbinarypath%%/../include/d/ldc", |
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.
This needs to actually work with INCLUDE_INSTALL_DIR, as some distro packages use it. IIRC there are a couple of CMake functions for converting paths, though.
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.
Hmm I could modify the variables to be %%ldcbinarypath%%/../... but then install doesn't work anymore. Maybe a separate conf file and a cmake switch for portable installation would be the cleanest solution.
|
Changed the portable installation approach. Improvement suggestions welcome. |
|
I merged everything but the portable installation stuff into master manually. Two issues I still see with the latter:
|
|
Thanks! Good idea to split it. |
|
I presume you are familiar enough with Git to know how to remove the already-merged commits by rebasing? If you need help, just let me know. |
|
@redstar, @AlexeyProkhin (and @Dicebot as one as our packages): Any creative ideas on how to handle this? |
|
What exactly seems to be a problem? I currently do this to build ldc: ..and looks like it will still work after the changes as portability is switched off my default. |
|
@Dicebot: We can just go with Trass3r's change as is (maybe with an extra check that INCLUDE_INSTALL_DIR isn't set in addition to PORTABLE_INSTALL). I was just wondering whether we might be missing a better way to handle this. |
|
Yeah feel free to throw in ideas :) |
|
@Trass3r Sorry for not answering. I am a bit busy right now and do not have a good internet connection, too. |
|
I don't have any strong opinion on topic as it is not something I would usually use. |
|
Though I think removing any kind of hard-coded paths/prefixes in the binary (if there are any) and moving those to configuration is a good thing in general - then any sort of user-local installation can be done by simply copying relevant binaries. |
ec8635b
to
84a9304
Compare
|
I picked the assembly annotator: see #881. |
|
Ok but please set the author correctly in the future for better tracking. |
|
Same thing applies still; please consider reopening isolated parts (if they still apply) as individual pull requests. |
collection of local patches