Dependencies for Roadrunner. See http://libroadrunner.org/ for more info on Roadrunner.
May be available under the releases section. Be sure to check that the compiler you are using matches the one used for building the prebuilt binaries. If not, you will have to build yourself.
Assuming cmake is ready for usage:
| WARNING: On Windows use the "x64 developer tools shell" rather than cmd or powershell. This ensures you build 64-bit roadrunner. |
|---|
$ git clone https://github.com/sys-bio/libroadrunner-deps.git --recurse-submodules
$ cd libroadrunner-deps
$ mkdir build
$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX="../install-release" -DCMAKE_BUILD_TYPE=Release ..
$ cmake --build . --target install --config Release
Replace Release with another configuration (like Debug) to build in another cmake configuration.
OpenBLAS is built as a static library. On macOS its assembly kernels break when the Apple linker folds identical code blocks (the default), which leaves zeros in place of code and crashes in BLAS calls at run time. This is OpenBLAS issue 6089.
The installed OpenBLAS::OpenBLAS CMake target carries the linker option -no_deduplicate, so programs that link it need no extra step. If you link lib/libopenblas.a some other way (a direct path, pkg-config, a Makefile), add -Wl,-no_deduplicate to that link line. The classic linker (-Wl,-ld_classic) also avoids the problem.