Crates.io | mochi-margo-sys |
lib.rs | mochi-margo-sys |
version | 0.1.0 |
source | src |
created_at | 2023-01-06 18:14:50.223034 |
updated_at | 2023-01-06 18:14:50.223034 |
description | FFI bindings for the Margo library |
homepage | https://github.com/mochi-hpc/mochi-rs-margo-sys |
repository | https://github.com/mochi-hpc/mochi-rs-margo-sys |
max_upload_size | |
id | 752456 |
size | 6,417 |
This Rust library provides a FFI bindings to the mochi-margo library.
This crate requires margo (see instructions here) and clang (see instructions here). Margo must be loaded (this crate uses pkg-config to locate its library and headers).
For example, on Debian and with Spack, the following can be used.
$ spack install mochi-margo
$ spack load mochi-margo
$ sudo apt install llvm-dev libclang-dev clang
$ git clone https://github.com/mochi-hpc/mochi-rs-margo-sys.git
$ cd mochi-rs-margo-sys
$ cargo build