Open barracuda156 opened 8 months ago
@steve-the-bayesian I could make a PR with this, if it makes it easier. Not using a bit of supported altivec on G5 is definitely better than having the build broken :)
As I recall, backporting may not be trivial, so until eigen
is updated, rather disable simd on Darwin ppc.
Or even better if there will be an option to use an external Eigen.
I tried updating Eigen to 3.4 on a recent build. No code changed? I'd be curious to see your PR.
On Sat, Feb 3, 2024 at 3:40 PM Sergey Fedorov @.***> wrote:
Or even better if there will be an option to use an external Eigen.
— Reply to this email directly, view it on GitHub https://github.com/steve-the-bayesian/BOOM/issues/78#issuecomment-1925487081, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMVDVLU2RL26L6ODUP44SLYR3DFPAVCNFSM6AAAAABA2D242SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRVGQ4DOMBYGE . You are receiving this because you were mentioned.Message ID: @.***>
I tried updating Eigen to 3.4 on a recent build. No code changed? I'd be curious to see your PR.
The issue was fixed in Eigen master in https://gitlab.com/libeigen/eigen/-/merge_requests/1150 So 3.4 still has the bug.
Upstream
eigen
has merged a fix for Darwin PowerPC quite some time ago, AFAIK it should work, at least I use devel branch for building ports and nothing so far fails. HoweverBoom
uses, apparently, quite oldeigen
, which breaks the build, since unsupported VSX instructions are pulled in.A quick-n-dirty fix will be disabling Altivec/VSX like this: