Skip to content

ProteusLab/LIRA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LIRA

LIRA is a framework that provides a data-flow Intermediate Representation.

Libraries:

Install

  • Python (pip):
pip install -e python/
  • Ruby (gem)
gem build ruby/lira.gemspec && gem install lira-*.gem
# or via Gemfile:
#   gem "lira", path: "ruby"
  • Rust (Cargo)
cargo add --path rust/lira

CPM / CMake integration

Configure and build:

cmake -B build -DLIRA_RUST=OFF
cmake --build build

Pull 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_RUBY_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_RUBY OFF"
  OPTIONS "LIRA_RUST OFF"
)
# Only ${LIRA_PYTHON_DIR} and lira-python target are created

CMake interface targets (source-only, no compilation): lira-python lira-ruby lira-rust

Examples

About

Framework that provides a data-flow Intermediate Representation

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors