-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[WIP] fmt: update to 10.2.1, spdlog: update to 1.14.1. #50183
base: master
Are you sure you want to change the base?
[WIP] fmt: update to 10.2.1, spdlog: update to 1.14.1. #50183
Conversation
a93031e
to
e94b1f9
Compare
For |
cherry picked your commit using non-free devilutionX |
93922b9
to
39ea611
Compare
all packages patched/updated to build with new fmt on x86_64-glibc Now doing build tests for all other archs |
everything is building except for imhex which fails on musl and aarch64 |
39ea611
to
d35016a
Compare
d35016a
to
41dc6ca
Compare
after several hours, i can't figure out how to fix cross compilation for please help |
Worry not, I come to the rescue! Here's a patch: --- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,6 +29,12 @@
set(CMAKE_MODULE_PATH "${IMHEX_BASE_FOLDER}/cmake/modules")
include("${IMHEX_BASE_FOLDER}/cmake/build_helpers.cmake")
+# Void Linux flags for cross compiling libromfs
+set(NATIVE_CMAKE_C_COMPILER "$ENV{CC_host}")
+set(NATIVE_CMAKE_CXX_COMPILER "$ENV{CXX_host}")
+set(NATIVE_CMAKE_C_FLAGS "$ENV{CFLAGS_host}")
+set(NATIVE_CMAKE_CXX_FLAGS "$ENV{CXXFLAGS_host}")
+
# Setup project
loadVersion(IMHEX_VERSION)
setVariableInParent(IMHEX_VERSION ${IMHEX_VERSION}) This is what's causing problems: https://github.com/WerWolv/libromfs/blob/master/generator/CMakeLists.txt#L5-L12 (
Here are the ld warnings.
These flags could be theoretically set through Footnotes
|
41dc6ca
to
07e29e7
Compare
Thanks! the patch works |
821ed09
to
f3d372e
Compare
47ca04a
to
6c8bf75
Compare
Testing the changes
Build status (x86_64-glibc):
[ci-skip]