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
Fix compilation with llvm > 6 (and arch=i386) #32807
Conversation
Follow up https://www.mail-archive.com/qgis-developer@lists.osgeo.org/msg47062.html discussion I will test (for build time) this method `"-mllvm -inline-threshold=128"` , and \"-O1"\ in another one. cc @m-kuhn @rhurlin @landryb
Fwiw that's what i have in https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/geo/qgis/patches/patch-src_core_CMakeLists_txt?rev=1.23&content-type=text/x-cvsweb-markup - the qrc approach looks interesting too. |
I just tried this patch on FreeBSD 13.0-CURRENT amd64 and it applies and builds fine. Will try i386 (11.3, 12.1) later, when at home again. |
Nice @m-kuhn ! |
Yay 🎉 🗡️ 😈 |
On FreeBSD with Poudriere, I have problems building for i386 with this patch (0001-Use-qrc-for-crs-mapping.patch). It takes hours and hours ... |
@rhurlin Do you agree with "-mllvm -inline-threshold=128" solution, since "-O1" is longer and the patch from mathias doesn't works for i386 arch (very longer)? |
For me this patch is fine. It passes several Poudriere runs with i368 and amd64 on FreeBSD. Thank you very much! |
Thanks everyone!! |
Follow up https://www.mail-archive.com/qgis-developer@lists.osgeo.org/msg47062.html discussion
I will test (for build time) this method
"-mllvm -inline-threshold=128"
, and "-O1"\ in another one.cc @m-kuhn @rhurlin @landryb
Description
Checklist
Fixes #11111
at the bottom of the commit messagescripts/prepare-commit.sh
script before each commit