-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
58 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] |