-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Test error with -DBUILD_SHARED_LIBS=1 #5213
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
Comments
This looks a bit weird, are you sure it is picking up the correct version of libopenblas.dll ? |
Yes,I just copied it from
|
Right, that should work. Then the test code is probably finding the "wrong" version of the error reporting function "xerbla" - the normal one from the library, instead of its own local implementation that only checks if the correct error code is returned when calling each function with bad arguments. |
Yes, after disabling all error tests, there are no more error reports. Thank you very much! |
My OS is windows10, and I am trying to build OpenBLAS with cmake and gcc.
gcc version 14.2.0 (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders, r3)
cmake version 3.31.5
My build option is
cmake -Bbuild . -GNinja -DBUILD_SHARED_LIBS=1 -DCMAKE_BUILD_TYPE=Release -DBINARY=64 -DINTERFACE64=0 -DCMAKE_INSTALL_PREFIX="C:\Program Files (x86)\openblas_test"
but something goes wrong when running
ctest
, such asBut by setting -DBUILD_SHARED_LIBS=1, everything goes right . But I want to build a dynamic library.
LastTest.log
The text was updated successfully, but these errors were encountered: