forked from conan-io/conan-center-index
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(conan-io#14687) MPFR: partial Conan 2.0 Compatibility
* MPFR Conan 2.0 Compatibility * Fixed lint errors * Missed one * Fixed lint error in test_package * Cleaned up patch records for older release * Added patch descriptions * Tweaked how win_bash is set * Added more patch metadata * Bump required_conan_version * Account for path differences with Conan 2.0 * Make work on Windows (but requires VS 2022) * Use NMake to work around MSBuild bug * Differentiate MSVC from Windows * Re-ordered apply_conandata_patches * Add call to fix_apple_shared_install_name * Deleted blank line to unstick CI * Remove blank line to spur CI * Removed redundant setting of --enable-shared and --enable-static * Use test_package.c from ../test_project * Use ../test_package/test_package.c * Apply suggestion from code review * Tweak previous change * Added find_package to v1 CMakeLists.txt * Try making conan_basic_setup(TARGETS) work * Add cmake_find_package_multi generator per template * Put back add_subdirectory * Another try at making v1 work with TARGETS * Removed extra blank link * Try setting CMAKE_RUNTIME_OUTPUT_DIRECTORY instead of add_subdirectory * Try using CMAKE_CURRENT_SOURCE_DIR * Leverage CONAN_PKG::mpfr from conan_basic_setup(TARGETS) * Restore use of PROJECT_NAME * Apply suggestions from code review Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com> * Various cleanup changes * Added autogen option to shield autoconf workflow * Fixed lint error * Removed autogen support * Fixed lint warnings * Bumped required_conan_version * Bumped required_conan_version * Update recipes/mpfr/all/test_v1_package/CMakeLists.txt Co-authored-by: Uilian Ries <uilianries@gmail.com> --------- Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com> Co-authored-by: Rubén Rincón Blanco <rubenrb@jfrog.com> Co-authored-by: Uilian Ries <uilianries@gmail.com>
- Loading branch information
1 parent
17e6ff1
commit 5a18d61
Showing
11 changed files
with
191 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
recipes/mpfr/all/patches/4.0.2-0001-configure.ac-fixes.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- configure.ac | ||
+++ configure.ac | ||
@@ -27,6 +27,7 @@ | ||
|
||
dnl Add check-news when it checks for more than 15 lines | ||
AC_INIT([MPFR],[4.0.2]) | ||
+AC_CANONICAL_TARGET | ||
|
||
dnl Older Automake versions than 1.13 may still be supported, but no longer | ||
dnl tested, and many things have changed in 1.13. Moreover the INSTALL file | ||
|
||
--- acinclude.m4 | ||
+++ acinclude.m4 | ||
@@ -41,7 +41,6 @@ | ||
AC_REQUIRE([AC_OBJEXT]) | ||
AC_REQUIRE([MPFR_CHECK_LIBM]) | ||
AC_REQUIRE([MPFR_CHECK_LIBQUADMATH]) | ||
-AC_REQUIRE([AC_HEADER_TIME]) | ||
AC_REQUIRE([AC_CANONICAL_HOST]) | ||
|
||
dnl Features for the MPFR shared cache. This needs to be done |
21 changes: 0 additions & 21 deletions
21
recipes/mpfr/all/patches/4.0.2-0001-windows-allow-mixed-shared-static.patch
This file was deleted.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
recipes/mpfr/all/patches/4.1.0-0001-configure.ac-fixes.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- configure.ac | ||
+++ configure.ac | ||
@@ -27,6 +27,7 @@ | ||
|
||
dnl Add check-news when it checks for more than 15 lines | ||
AC_INIT([MPFR],[4.1.0]) | ||
+AC_CANONICAL_TARGET | ||
|
||
dnl Older Automake versions than 1.13 may still be supported, but no longer | ||
dnl tested, and many things have changed in 1.13. Moreover the INSTALL file | ||
|
||
--- acinclude.m4 | ||
+++ acinclude.m4 | ||
@@ -40,7 +40,6 @@ | ||
AC_REQUIRE([AC_OBJEXT]) | ||
AC_REQUIRE([MPFR_CHECK_LIBM]) | ||
AC_REQUIRE([MPFR_CHECK_LIBQUADMATH]) | ||
-AC_REQUIRE([AC_HEADER_TIME]) | ||
AC_REQUIRE([AC_CANONICAL_HOST]) | ||
|
||
dnl Features for the MPFR shared cache. This needs to be done | ||
|
20 changes: 0 additions & 20 deletions
20
recipes/mpfr/all/patches/4.1.0-0001-windows-allow-mixed-shared-static.patch
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.