Skip to content

Commit

Permalink
README.md: update
Browse files Browse the repository at this point in the history
  • Loading branch information
harenome committed Jun 26, 2023
1 parent f0b28a6 commit 22f2d8b
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 30 deletions.
30 changes: 0 additions & 30 deletions README

This file was deleted.

58 changes: 58 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
OpenScop Library 0.9.6
======================

Installation
------------

Arch Linux users can install the library via the AUR:

```.bash
$ yay -S osl
```

Dependencies
------------

Recommended packages:

```.bash
# For Ubuntu
$ apt install build-essential autoconf automake autotools-dev libtool libgmp-dev autoconf-archive ccache doxygen
# For Fedora
$ dnf install @c-development @development-tools libtool gmp-devel autoconf-archive ccache
# For Arch Linux
$ pacman -S base-devel posix-c-development autoconf-archive gmp ccache
```

Build + installation via autotools
----------------------------------

```.bash
$ autoreconf -fi
$ mkdir build
$ cd build
$ ../configure CC="ccache cc"
$ make -j$(nproc)
$ make install
```


Alternative: build and install with CMake (experimental, may not work!)
-----------------------------------------------------------------------

```.bash
$ mkdir build
$ cd build
$ cmake .. # -DCMAKE_INSTALL_PREFIX="/your/install/directory"
$ make
$ make test
$ # make install # sudo make install # su -c "make install"
$ make doc
```


Support
-------

Please contact:
[email protected]

0 comments on commit 22f2d8b

Please sign in to comment.