Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script simplifying builds of conan packages #1

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

mm-s
Copy link

@mm-s mm-s commented Jan 27, 2021

  • Lowered the minimum required version of CMake to build to match the CMake version distributed by Debian/buster (3.14->3.13)
  • Simplified the construction of conan packages with an script
  • Updated README

Tested in Debian Buster:

scripts/make.sh all

Produces

conan search
Existing package recipes:

benchmark/1.5.0@nemtech/stable
benchmark/1.5.1@nemtech/stable
benchmark/1.5.2@nemtech/stable
boost/1.75.0
cppzmq/4.4.1@nemtech/stable
cppzmq/4.5.0@nemtech/stable
cppzmq/4.6.0@nemtech/stable
cppzmq/4.7.1@nemtech/stable
hello/0.1@demo/testing
libiconv/1.16
milagro/2.0.1@nemtech/stable
milagro/2.0.1-nem@nemtech/stable
mongo-c-driver/1.15.3@nemtech/stable
mongo-c-driver/1.17.0@nemtech/stable
mongo-c-driver/1.17.2@nemtech/stable
mongo-cxx-driver/r3.4.0-nem@nemtech/stable
mongo-cxx-driver/r3.6.0-nem@nemtech/stable
mongo-cxx-driver/r3.6.0@nemtech/stable
mongo-cxx-driver/r3.6.1@nemtech/stable
openssl/1.1.1f@nemtech/stable
openssl/1.1.1g@nemtech/stable
rocksdb/6.6.4-nem@nemtech/stable
rocksdb/6.11.4@nemtech/stable
rocksdb/6.13.3@nemtech/stable
zeromq/4.3.2@nemtech/stable

Copy link

@segfaultxavi segfaultxavi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The text looks alright 👍

Copy link
Member

@gimre-xymcity gimre-xymcity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rocksdb/6.13.3@nemtech/stable (test package): Calling build()
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  CMake 3.14 or higher is required.  You are running version 3.13.5


-- Configuring incomplete, errors occurred!
ERROR: rocksdb/6.13.3@nemtech/stable (test package): Error in build() method, line 13

@mm-s mm-s changed the title Cmake minversion Script simplifying builds of conan packages Jan 29, 2021
@mm-s
Copy link
Author

mm-s commented Jan 29, 2021

I gave up setting cmake min version to 3.13.
This PR is now only about the automation script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants