Conan Client

Conan Client

Conan packages

This repository contains scripts to package, install and use conan packages during the development of user space applications. Current tools is adapted to be used inside the base version of Aurora SDK and Aurora Platform SDK.

Repository structure

  • AUTHORS.md - list of authors.
  • CODE_OF_CONDUCT.md - code of conduct.
  • build-requirements.txt - a list of requirements that are needed to build conan dependencies
  • conan-deploy-libraries - a tool to copy shared libraries installed by conan to the specified
  • conan-with-aurora-profile - script that automatically sets the profile up based on the target that has been used to invoke conan executable. Installed and used in SDK.
  • conan - script that automatically sets the conan execution file path up. Installed and used in SDK.
  • CONTRIBUTING.md - contribution agreement.
  • create-distribution - script that builds the conan package in all available targets and creates a distribution package.
  • global.conf - a global configuration file for the installed conan. The file is placed in the conan configuration directory inside user home directory.
  • install-conan - an installation script installs and configures conan on a developer (conan consumer) machine.
  • install-conan-into-directory - a script that is used during the RPM packaging phase. It installs the conan package from pip packages stored locally in repository into a directory called conan-distrib.
  • conan-install-if-modified - a script which invokes the conan-with-aurora-profile install command if the project conanfile modification date is later than conanrun.sh file. The scripts helps to save time during the project building.
  • LICENCE.BSD-3-Clause.md - project Licence.
  • pip-packages - a set of Python package sources that contains installed conan and it's dependencies. Allows to build conan without internet access.
  • profiles - conan profile files that contain parameters to build conan packages.
  • pull-pip-dependencies - a script that populates a pip-packages directory based on the build-requirements.txt and requirements.txt.
  • remotes.json - file contains a list of available conan repositories.
  • readme.md - this file.
  • requirements.txt - list of python requirements including conan that are needed by conan to be run.

Creating conan distribution

  1. Install either Aurora OS Base SDK or Aurora Platform SDK.
  2. Clone this repository.
  3. Access the Build Engine via SSH or enable Platform SDK.
  4. Run the create-distribution script.

Resulting archive containing distribution will be created in the build directory. Path to the archive will be printed to the standard output.

Using conan distribution

Conan distribution is meant to be used inside the Aurora SDK Base version or inside the Aurora Platform SDK.

  1. Get the archive of conan distribution.
  2. Unpack the archive into directory where it can be accessed from within the SDK.
  3. Access the Build Engine via SSH or enable Platform SDK.
  4. Go to the directory with unpacked data.
  5. Run the install-conan script. It will install conan in all targets and configure it.