conan-recipes/README.md

37 lines
1.1 KiB
Markdown
Raw Normal View History

2017-10-27 22:56:42 +02:00
# conan-recipes
2017-10-28 17:26:01 +02:00
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
## 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
```
2022-10-20 21:38:50 +02:00
cd systemc-cci
2020-04-05 15:40:10 +02:00
python3 build.py
2018-02-22 21:54:16 +01:00
```
to build a specific variant run the following command
```
2022-10-20 21:38:50 +02:00
conan create . -s build_type=<build type>
2017-10-28 17:26:01 +02:00
```
where <c++ std variant> is one of 98, 11, or 14
2017-10-28 18:07:51 +02:00
## uploading
Uploading can be done using
```
conan upload <package name>/<package version>@<user name>/<channel> --all -r=<remote name>
```
2018-02-22 21:54:16 +01:00
# 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.