Skip to content

asdf-format/libasdf

libasdf

C library for reading (and eventually writing) ASDF files

Introduction

Let's have something to say here first.

Development

Minimal requirements

First we'll have to have some (probably libfyaml + headers)

Building from source tarballs

First we'd have to have some.

Building from git

libasdf's build system is built with the GNU autotools suite. To build this project from source, you'll need the following software installed on your system:

Requirements

To build this project from source, you'll need the following software installed on your system:

  • GNU Autotools (for generating the build system)
    • autoconf
    • automake
    • libtool (if your project uses it — remove if not)
  • C compiler (e.g., gcc or clang)
  • Make (e.g., GNU make)
  • pkg-config
  • libfyaml
  • argp (this is a feature of glibc, but if compiling with a different libc you need a standalone version of this; also it is only needed if building the command-line tool)

On Debian/Ubuntu:

sudo apt install build-essential autoconf automake libtool pkg-config libfyaml-dev

On Fedora:

sudo dnf install gcc make autoconf automake libtool pkgconf libfyaml-devel

On macOS (with Homebrew):

brew install autoconf automake libtool pkg-config libfyaml argp-standalone

Building

Clone the repository and build the project as follows:

git clone https://github.com/asdf-format/libasdf.git
cd libasdf
./autogen.sh
./configure
make
sudo make install   # Optional, installs the binary system-wide

If doing a system install, as usual it's recommended to install to /usr/local by providing --prefix=/usr/local when running ./configure. Or, if you have a ${HOME}/.local you can set the prefix there, etc.

Notes

  • Run make clean to clean build artifacts.
  • Run ./configure --help to see available configuration options.

About

C implementation of ASDF

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published