Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #458 +/- ##
========================================
Coverage 84.12% 84.12%
========================================
Files 26 26
Lines 8122 8122
Branches 1702 1702
========================================
Hits 6833 6833
Misses 1289 1289
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
5fdbe4c to
15721c0
Compare
15721c0 to
73be1fb
Compare
73be1fb to
64a0578
Compare
7cd9e3b to
74bb352
Compare
|
Well, this one is ready to be merged, since the current LTS distros have CMake >= 3.25. Waited a grace period after |
|
Ping me after these two PRs are merged just to be sure. |
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
In retrospect it is not desired. Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
74bb352 to
ec314da
Compare
Honestly, I have no idea and no objection. Please go ahead. |
|
|
Reworked a lot of the CMake build - Python bindings installation outside of `scikit-build-core` is no longer supported. Avoids dangling files that cannot be removed due to lacking python package metadata files (`spglib.dist-info`) - Reworked the detection of when the bundled project needs to be included: - Check for Target `Spglib::symspg` (more robust than checking for any cache variables) - Use `find_package` to check for system installed `Spglib` - Use [`CMAKE_DISABLE_FIND_PACKAGE_Spglib=ON`](https://cmake.org/cmake/help/latest/variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName.html) to make sure the bundled version is used - Use [`CMAKE_REQUIRE_FIND_PACKAGE_Spglib=ON`](https://cmake.org/cmake/help/latest/variable/CMAKE_REQUIRE_FIND_PACKAGE_PackageName.html) to make sure a system version is used - If `find_package` failed (and `CMAKE_REQUIRE_FIND_PACKAGE_Spglib` was not set), use the bundled sources - Removed the dynamic loading of the `spglib` C library, `libsymspg` must be resolved at build time - Added `INSTALL_RPATH` for the python `_spglib` library pointing to `$ORIGIN/${CMAKE_INSTALL_LIBDIR}`. *If* you want to use a system installed library, there *must not* be a `libsysmspg` library there - Reverted the `cibuildweel` workaround from #507 Depends-on: #458 Closes #510 Closes #462
Ubuntu 24.04 is out with CMake 3.28
RHEL9 bumped the CMake 3.26