6
0
mirror of https://github.com/Minres/conan-recipes.git synced 2024-12-23 00:38:04 +01:00
A bunch of conan recipes to package C++ libraries
Go to file
2020-04-05 20:25:57 +02:00
elfio update conanfiles and add RocksDB 2020-04-05 15:36:06 +02:00
LevelDB Updated versions 2019-06-15 22:31:04 +02:00
RocksDB fix package specification 2020-04-05 20:25:57 +02:00
Seasocks Updated versions 2019-06-15 22:31:04 +02:00
SystemC update conanfiles and add RocksDB 2020-04-05 15:36:06 +02:00
SystemC-CCI update conanfiles and add RocksDB 2020-04-05 15:36:06 +02:00
SystemCVerification update conanfiles and add RocksDB 2020-04-05 15:36:06 +02:00
.gitignore update conanfiles and add RocksDB 2020-04-05 15:36:06 +02:00
LICENSE Initial commit 2017-10-27 22:56:42 +02:00
README.md update README 2020-04-05 15:40:10 +02:00

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_USERNAME=<username> CONAN_CHANNEL=<channel name> python3 build.py

to build a specific variant run the following commands:

conan create . 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
python3 build.py

to build a specific variant run the following command

conan create . SystemC/2.3.2@minres/<channel name>  -o 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
python3 build.py

to build a specific variant run the following command

conan create . SystemCVerification/2.0.1@minres/<channel name>  -o stdcxx=<c++ std variant> -s build_type=<build type>

where <c++ std variant> is one of 98, 11, or 14

SystemC Configuration, Control and Inspection (CCI) library

download the SystemC CCI distribution from http://www.accellera.org/downloads/standards/systemc and unpack into the SystemC-CCI directory

cd SystemC-CCI
python3 build.py

to build a specific variant run the following command

conan create . SystemC-CCI/0.9.0@minres/<channel name>  -o stdcxx=<c++ std variant> -s build_type=<build type>

where <c++ std variant> is one of 98, 11, or 14

uploading

Uploading can be done using

conan upload  <package name>/<package version>@<user name>/<channel> --all -r=<remote name>

Problems

If you are going to build the packages under Linux using gcc you might run into linker issues. You can try to fix this by setting a the C++11 libstdc++. This can be done by adding -s compiler.libcxx=libstdc++11 to the package build calls.