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

catch.hpp: fix for aarch64 and powerpc #100

Closed
wants to merge 1 commit into from

Conversation

@rkaminsk
Copy link
Member

Could this also be fixed by using an up-to-date catch version like for example clingo is doing?

@barracuda156
Copy link
Author

Could this also be fixed by using an up-to-date catch version like for example clingo is doing?

@rkaminsk aarch64 has been fixed in the commit I referenced to.
For PPC fix I have opened a PR there: catchorg/Catch2#2619

@rkaminsk
Copy link
Member

The wip branch already includes catch as a submodule. So an updated catch should be part of the next release. For now it is probably best to include your patch when packaging for macos.

@barracuda156
Copy link
Author

Strangely, while it is fixed now in Macports for Big Sur aarch64, it still fails on Monterey aarch64:

OK: https://build.macports.org/builders/ports-11_arm64-builder/builds/81062/steps/install-port/logs/stdio
Not OK: https://build.macports.org/builders/ports-12_arm64-builder/builds/79710/steps/install-port/logs/stdio

Apparently upstream fix did not fix aarch64 fully.

@rkaminsk
Copy link
Member

Apparently upstream fix did not fix aarch64 fully.

Since the whole CATCH_TRAP thing will never be used in this setting, you could modify your patch to unconditionally use the do nothing case.

@rkaminsk
Copy link
Member

I can do a new clingcon release with an updated catch version. This has to wait until catch v3.2.2 is available. Note that the next release can also use a system wide installation of catch using option -DCLINGCON_USE_LOCAL_CATCH=OFF.

@barracuda156
Copy link
Author

@rkaminsk Great, thank you. I will close this then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants