Rust AOFlagger
Rust bindings for https://gitlab.com/aroffringa/aoflagger
Installation
Prerequisites
- A Rust compiler with a version >= 1.51.0 - https://www.rust-lang.org/tools/install
- AOFlagger >= 3.0 (Ubuntu > 21.04: apt install aoflagger-dev)
- CFitsIO >= 3.49 (Ubuntu > 20.10: apt install libcfitsio-dev)
for OS-specific instructions, check out the linux and macOS CI Scripts and the Makefile.toml as these are tested regularly. The instructions below may be updated less frequently, but are better documented.
(Debian/Ubuntu) Linux Setup
# Prerequisites for rustup, cargo and cargo-make
# Run the Rustup install script, profile=default, toolchain=stable
|
# Cargo make uses Makefile.toml to automate development tasks
# Use multiple cores when compiling C/C++ libraries
# Install prerequisite C/C++ libraries
# Ensure that rust can find the C/C++ libraries.
MacOS Setup
# Install homebrew
# Run the Rustup install script, profile=default, toolchain=stable
|
# Cargo make uses Makefile.toml to automate development tasks
# Add the MWATelescope homebrew tap
# Install prerequisite libraries
Windows Setup
Unfortunately most of the prerequisites aren't available on Windows. However, WSL is great.