Closed barracuda156 closed 1 year ago
Most likely catch2 dev dependency just needs to be upgraded.
The linking issue may be related to https://github.com/catchorg/Catch2/issues/1218. If upgrading doesn't work we can use CATCH_CONFIG_NO_CPP17_UNCAUGHT_EXCEPTIONS
aarch64 failing is somewhat odd because it looks like it includes the fix https://github.com/catchorg/Catch2/issues/1127 for that and not should be using __asm__("int $3\n" : : )
. I know @stephenberry has an arm macbook so he should be able to test out if upgrading catch2 fixes this and if not why is not using the correct define for CATCH_TRAP on that platform.
@barracuda156
I think the problem should now be fixed. Let me know if you still run into errors.
The unit test framework has been changed to boost ut.
@barracuda156 FYI the master
branch has been changed to main
I think the problem should now be fixed. Let me know if you still run into errors.
@stephenberry Thank you! Let me try.
Most likely catch2 dev dependency just needs to be upgraded.
Not relevant anymore, AFAIU, but there was no dependency declared, and CMake configure did not check for catch2
being available (otherwise it would have failed earlier, during configure itself). Since Macports build bots run every build from scratch, if something is not declared as dependency, it will not be present.
@stephenberry All looks good locally:
---> Testing ascent
Executing: cd "/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_ascent/ascent/work/build" && ctest test
Test project /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_ascent/ascent/work/build
Start 1: ascent_test
1/1 Test #1: ascent_test ...................... Passed 0.09 sec
100% tests passed, 0 tests failed out of 1
Total Test time (real) = 0.11 sec
I will open a PR to Macports now, and once it gets merged, will update on build status across all macOS versions.
Excellent, thank you!
Excellent, thank you!
@stephenberry Thank you for working on this!
@barracuda156
I think the problem should now be fixed. Let me know if you still run into errors.
@stephenberry @mwalcott3
Errors differ now (and perhaps some systems that were broken initially are now fixed), so it is not yet fully fixed. I opened a separate issue: https://github.com/AnyarInc/Ascent/issues/28
On several versions of macOS x86_64 the build fails at linking:
On aarch64 it fails like this:
See details here: https://ports.macports.org/port/ascent/details