-
Notifications
You must be signed in to change notification settings - Fork 50
Description
For the native build, Marian demand to be compiled with BLAS and CBLAS on the system, other wise it always will dump this error during run time:
...
Error: Marian must be compiled with a BLAS library
Error: Aborted from void sgemm(bool, b....
...
Aborted (core dumped) build-native/app/bergamot --log-level debug ...
so to make marian locate BLAS and CBLAS succesfuly, i had to check the CMakeList.txt, it took me a while to realize that
SET(USE_STATIC_LIBS ON CACHE BOOL "Link statically against non-system libs") was blocking marian but after commenting the line it run nice.
this test was done under debian and arch on wsl, i doubt it was a wsl only error. if im not the only one suffering from this bug i propose to move this line to the:
if (USE_WASM_COMPATIBLE_SOURCE)
on line 89 if it is needed for the wasm build.