Skip to content

schnapper79/conan-recipes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Conan Packaging Recipes

This repository contains several Conan recipes. It was developed with the primary aim of packaging https://github.com/grpc/grpc but might grow in scope in the future.

Prerequisites

These recipes have been tested on Debian GNU/Linux "bullseye" (currently in testing phase) using the native GCC 9.3.0 toolchain and CMake 3.16.3 .

Conan 1.24.1 installed via pip3.

Building

$ cd recipes/abseil
$ conan create . abseil/20200225.2@signbit/testing
$ cd ../protoc_installer
$ conan create . protoc_installer/3.11.4@signbit/testing
$ cd ../grpc
$ conan create . grpc/1.28.1@signbit/testing

Feel free to substitute your own channel for "signbit/testing", just make sure you adapt the test recipes.

Testing

$ cd tests
# abseil
$ mkdir abseil.build
$ cd abseil.build
$ conan install ../abseil
$ cmake ../abseil
$ cmake --build .
$ ./test1
dewey                                                                    
huey            
louie 
# grpc
$ cd ../
$ mkdir greeter_example.build
$ cd greeter_example.build
$ conan install ../greeter_example
$ cmake ../greeter_example
$ cmake --build .
$ ./greeter_server&
Server listening on 0.0.0.0:50051
$ ./greeter_client 
Greeter received: Hello world
# terminate the background process
$ fg
^C

License

These scripts have been heavily influenced by the original upstream sources:

As such, this work is licensed under the MIT license.

NOTE: The Conan recipe license applies only to the files of this recipe, which can be used to build the included packages. It does not in any way apply or is related to the actual software being packaged.

About

Conan package recipes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 56.2%
  • C++ 25.8%
  • CMake 18.0%