LIRA is a framework that provides a data-flow Intermediate Representation.
Libraries:
- python/lira — Python 3 library
- rust/lira — Rust library
- Python (pip):
pip install -e python/- Rust (Cargo)
cargo add --path rust/liraConfigure and build:
cmake -B build -DLIRA_RUST=OFF
cmake --build buildPull the entire project:
include(cmake/CPM.cmake)
CPMAddPackage(
NAME lira
GITHUB_REPOSITORY ProteusLab/LIRA
GIT_TAG v0.1.0
EXCLUDE_FROM_ALL YES
SYSTEM YES
)
# Source paths: ${LIRA_PYTHON_DIR} ${LIRA_RUST_DIR}Sub-library selection via OPTIONS:
CPMAddPackage(
NAME lira
GITHUB_REPOSITORY ProteusLab/LIRA
GIT_TAG v0.1.0
EXCLUDE_FROM_ALL YES
OPTIONS "LIRA_RUST OFF"
)
# Only ${LIRA_PYTHON_DIR} and lira-python target are createdCMake interface targets (source-only, no compilation): lira-python lira-rust