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

sleef: migrate to Conan v2 #18721

Merged
merged 13 commits into from
Feb 26, 2024
Merged

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Jul 20, 2023

TODO

  • v1: Package with 'shared=False' option did not contain any static artifact

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

Hooks produced the following warnings for commit 13175fa
sleef/3.5.1
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libsleefdft.so' links to system library 'pthread' but it is not in cpp_info.system_libs.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@valgur
Copy link
Contributor Author

valgur commented Jul 26, 2023

Closing temporarily to avoid unnecessary load on the CI. Will reopen when I'm actively working on the PR again.

@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

Hooks produced the following warnings for commit 8923ed8
sleef/3.5.1
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libsleefdft.so' links to system library 'pthread' but it is not in cpp_info.system_libs.

@stale
Copy link

stale bot commented Sep 17, 2023

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added stale and removed stale labels Sep 17, 2023
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

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

Thank you for your PR, please, take a look in my review.

@@ -1,4 +1,7 @@
sources:
"cci.20210405":
Copy link
Member

Choose a reason for hiding this comment

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

Could please update the version 3.6 instead: https://github.com/shibatch/sleef/releases/tag/3.6

# Fails with "No rule to make target `/bin/mkrename'"
# https://github.com/shibatch/sleef/issues/308
raise ConanInvalidConfiguration(f"{self.ref} does not support cross-building with apple-clang")
if self.settings.arch == "armv8":
Copy link
Member

Choose a reason for hiding this comment

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

The version 3.6 supports Mac M1. Tested locally and I can build both static and shared 👍

"shared sleef not supported on Windows, it produces runtime errors"
)
if self.settings.compiler == "apple-clang":
if cross_building(self):
Copy link
Member

Choose a reason for hiding this comment

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

Confirmed that it does not work in 3.6 too.


def generate(self):
tc = CMakeToolchain(self)
tc.cache_variables["BUILD_SHARED_LIBS"] = self.options.shared
Copy link
Member

Choose a reason for hiding this comment

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

Some options changed in 3.6, including for testing. Please, check in the new release.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

uilianries
uilianries previously approved these changes Feb 26, 2024
Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you for updating to 3.6

recipes/sleef/all/conanfile.py Outdated Show resolved Hide resolved
Co-authored-by: Uilian Ries <uilianries@gmail.com>
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 14 (abab162d0611aab91384cba9f1dfbd171de0f5e5):

  • sleef/3.5.1:
    All packages built successfully! (All logs)

  • sleef/3.6:
    All packages built successfully! (All logs)


Conan v2 pipeline ✔️

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 14 (abab162d0611aab91384cba9f1dfbd171de0f5e5):

  • sleef/3.6:
    All packages built successfully! (All logs)

  • sleef/3.5.1:
    All packages built successfully! (All logs)

@conan-center-bot conan-center-bot merged commit e7d1298 into conan-io:master Feb 26, 2024
18 checks passed
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.

None yet

5 participants