Skip to content
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

Merged
merged 6 commits into from
Aug 30, 2021

Conversation

SpaceIm
Copy link
Contributor

@SpaceIm SpaceIm commented Aug 27, 2021

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


  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the
    conan-center hook activated.

@SpaceIm SpaceIm changed the title coin-utils: allow cross-build coin-utils: allow cross-build + keep source code immutable Aug 27, 2021
uilianries
uilianries previously approved these changes Aug 27, 2021
@SpaceIm SpaceIm changed the title coin-utils: allow cross-build + keep source code immutable coin-utils: allow cross-build Aug 27, 2021
@conan-center-bot

This comment has been minimized.

@SpaceIm SpaceIm force-pushed the fix/coin-utils-cross-build branch from eb85997 to 773c9ec Compare August 28, 2021 19:07
@SpaceIm SpaceIm changed the title coin-utils: allow cross-build coin-utils: allow cross-build + fix random install issues Aug 28, 2021
@conan-center-bot

This comment has been minimized.

@SpaceIm
Copy link
Contributor Author

SpaceIm commented Aug 28, 2021

hum, shared lib is empty while cross-building. static lib is fine.

@SpaceIm
Copy link
Contributor Author

SpaceIm commented Aug 28, 2021

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).

@conan-center-bot
Copy link
Collaborator

All green in build 5 (ee5e908a4f424a9a4ff30551c8f7d76abab45ad4):

  • coin-utils/2.11.4@:
    All packages built successfully! (All logs)

@@ -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"])
Copy link
Contributor

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is
#5820

Copy link
Contributor

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

@conan-center-bot conan-center-bot merged commit 2ba18be into conan-io:master Aug 30, 2021
@SpaceIm SpaceIm deleted the fix/coin-utils-cross-build branch August 30, 2021 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[package] <coin-utils>/<2.11.4>: installation fails on macos
5 participants