-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
coin-utils: allow cross-build + fix random install issues #7077
coin-utils: allow cross-build + fix random install issues #7077
Conversation
This comment has been minimized.
This comment has been minimized.
eb85997
to
773c9ec
Compare
This comment has been minimized.
This comment has been minimized.
hum, shared lib is empty while cross-building. static lib is fine. |
I guess that issue comes from libtool, but we can't call autoreconf, coin-utils m4 macros are missing in tarball (we need https://github.com/coin-or-tools/BuildTools). |
All green in build 5 (
|
@@ -128,7 +128,7 @@ def package(self): | |||
self.copy("LICENSE", src=self._source_subfolder, dst="licenses") | |||
with self._build_context(): | |||
autotools = self._configure_autotools() | |||
autotools.install() | |||
autotools.install(args=["-j1"]) |
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.
Is this required? maybe add a comment if it is?
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.
it is
#5820
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.
could be put under the if macos
condition, but install is usually fast
Specify library name and version: lib/1.0
Cross-build just works (I've tested Macos M1 and iOS with apple-clang 12).
And fixes #5820
conan-center hook activated.