Skip to content

About

Dependencies for libroadrunner

Resources

Stars

3 stars

Watchers

7 watching

Forks

Repository files navigation

Build Status

libroadrunner-deps

Dependencies for Roadrunner. See http://libroadrunner.org/ for more info on Roadrunner.

Prebuilt binaries

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.

Build instructions

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.

Linking OpenBLAS on macOS

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.

About

Dependencies for libroadrunner

Resources

Stars

3 stars

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages