Giter Site home page Giter Site logo

conan-boost-scripts's Introduction

Conan Boost

GitHub license

This repository contains the conan receipe that is used to build the boost packages at rgpaul bintray.

For Infos about Boost please visit www.boost.org.
The library is licensed under the Boost Software License.
This repository is licensed under the MIT License.

Compiling Boost is kinda complicated. So I wrote the build scripts and the conan scripts seperately. The build-boost scripts will output a zip file containing the libraries. The upload-conan scripts will unzip the corresponding zip file, package it using the conanfile.py and upload them to a conan repository.

Build Scripts

For building the following scripts can be used.

Android

This script utilizes a fork of moritz-wundke Boost-for-Android.

Precompiled binaries for Android can also be downloaded from Github.

For building from a macOS / Linux Host, there is a bash script. Building from a Windows Host is not supported. The environmental ANDROID_NDK_PATH must be set to the path of the ndk.

Example:

ANDROID_NDK_PATH='/opt/android-ndks/android-ndk-r17b' ./build-boost-android.sh

Requirements

Debian 9 (Stretch)

For building Boost for Debian, execute the build-boost-debian-stretch.sh script.

Requirements

  • build-essential, curl, git, unzip and zip (apt-get install build-essential curl git unzip zip)

iOS

This script utilizes a fork of faithfracture Apple-Boost-BuildScript.

For building the iOS Libraries, execute build-boost-ios.sh.

Requirements

macOS

This script utilizes a fork of faithfracture Apple-Boost-BuildScript.

For building the macOS Libraries, execute build-boost-macos.sh

Requirements

Windows 10

There is a build-boost-win10.ps1 script, but I couldn't get it working. Feel free to make it work and create a pull request please. :)

I will describe my procedure of building boost in the file build-boost-win10.md, until I may got a working version of the script.

Requirements

Upload Conan Scripts

Android

To create a conan package for Android there must be a corresponding zip archive in the builds folder for that version and NDK. The file must be name in the following structure:
boost-android-[ndk]-[arch]-[version].zip for example: builds/1.70.0/boost-android-r20-arm64-v8a-1.70.0.zip

For the debug version there must be a debug before the [version]:
boost-android-[ndk]-[arch]-debug-[version].zip for example: builds/1.70.0/boost-android-r20-arm64-v8a-debug-1.70.0.zip

After adjusting the settings in upload-conan-android.sh this script will create the conan packages.

iOS

To create a conan package for iOS there must be a corresponding zip archive in the builds folder for that version and SDK. The file must be name in the following structure:
boost-ios-sdk[sdk]-[version].zip for example: builds/1.70.0/boost-ios-sdk12.4-1.70.0.zip

For the debug version there must be a debug before the [version]:
boost-ios-sdk[sdk]-debug-[version].zip for example: builds/1.70.0/boost-ios-sdk12.4-debug-1.70.0.zip

After adjusting the settings in upload-conan-ios.sh this script will create the conan packages.

conan-boost-scripts's People

Contributors

rgpaul avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.