conan-recipes/README.md

58 lines
1.6 KiB
Markdown

# conan-recipes
A bunch of conan recipes to package C++ libraries. The packages of those recipes can be found at https://bintray.com/minres/conan-repo
# How to build the packages on your own
Install https://github.com/conan-io/conan-package-tools to build all needed combinations
## Seasocks
to build all variations run
```
cd Seasocks
CONAN_USER=<username> CONAN_CHANNEL=<channel name> python build.py
```
to build a specific variant run the following commands:
```
conan test_package Seasocks/1.3.2@<username>/<channel name> -s build_type=<build type> -s compiler.libcxx=<libstdc++ variant>
```
## SystemC
download the SystemC distribution from http://www.accellera.org/downloads/standards/systemc and unpack into the SystemC directory
```
cd SystemC
CONAN_USER=<usernam> CONAN_CHANNEL=<channel name> python build.py
```
to build a specific variant run the following command
```
conan test_package SystemC/2.3.2@minres/<channel name> -o SystemC:stdcxx=<c++ std variant> -s build_type=<build type>
```
where <c++ std variant> is one of 98, 11, or 14
## SystemC Verification library
download the SystemC distribution from http://www.accellera.org/downloads/standards/systemc and unpack into the SystemCVerification directory and apply the patch scv4systemc-2.3.2.patch
```
cd SystemCVerification
CONAN_USER=<usernam> CONAN_CHANNEL=<channel name> python build.py
```
to build a specific variant run the following command
```
conan test_package SystemCVerification/2.0.0.a@minres/<channel name> -o SystemC:stdcxx=<c++ std variant> -s build_type=<build type>
```
where <c++ std variant> is one of 98, 11, or 14