Skip to content

Conversation

@ACSimon33
Copy link
Contributor

@ACSimon33 ACSimon33 commented Nov 19, 2022

Description
Fixes #756. I've added an option to enable flat namespaces on macOS. If that option is ON we pass the -flat_namespace flag to the linker which fixes the symbol resolution of _xerbla in the testing framework.

Additionally, the issue with cblas_xerbla (see #440) came up again on my local machine after some update. I'm actually not sure what I updated (I'm using GCC 12.2.0 and the newest command-line developer tools). I took a look at #521 which solved this issue before with weak symbols. The __attribute__((weak)) was missing in the function declarations and the CBLAS tests were compiled without the -DHAS_ATTRIBUTE_WEAK_SUPPORT define. After I fixed those two things the tests worked again on my machine.

I also fixed some formatting in cblas_f77.h.

@langou langou merged commit 159cdae into Reference-LAPACK:master Nov 21, 2022
@ACSimon33 ACSimon33 deleted the osx_flat_namespace branch November 21, 2022 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants