Giter Site home page Giter Site logo

bpm's Introduction

bpm

bpm, the Boost package manager, is an experimental utility for installing parts of Boost from modular "releases".

To build it, this repository needs to be cloned into the tools/bpm subdirectory of the Boost superproject, then b2 tools/bpm/build will place bpm into dist/bin.

To try it out, make an empty subdirectory and create a text file bpm.conf there with the following contents:

package_path=http://www.pdimov.com/tmp/pkg-develop-1612497/

then to install, for example, the filesystem library along with its required dependencies, execute bpm from that directory with

bpm install filesystem

You can also run bpm without arguments, and it will display a description of the commands and options it takes.

The "release" specified in package_path above has been prepared by running tools/bpm/scripts/package.bat at the root of the Boost source tree, revision develop-1612497.

bpm's People

Contributors

pdimov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bpm's Issues

Unable to build bpm when compiling with address-model=64

When building a 64-bit version of bpm a compiler error because

sizeof( state_ ) >= sizeof( CLzmaDec )

is false in line 28 of lzma_reader.cpp:

typedef char assert_large_enough[ sizeof( state_ ) >= sizeof( CLzmaDec )? 1: -1 ];

Is this intended to fail for 64-bit compilation ? Using mingw-w64/gcc-9.2 the message in 64-bit compilation the message is:

..\src\lzma_reader.cpp:28:85: error: narrowing conversion of '-1' from 'int' to 'long long unsigned int' [-Wnarrowing]
   28 |     typedef char assert_large_enough[ sizeof( state_ ) >= sizeof( CLzmaDec )? 1: -1 ];
      |                                                                                     ^
..\src\lzma_reader.cpp:28:77: error: size '-1' of array 'assert_large_enough' is negative
   28 |     typedef char assert_large_enough[ sizeof( state_ ) >= sizeof( CLzmaDec )? 1: -1 ];
      |                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~

while with msvc-14.2 in 64-bit compilation the message is:

lzma_reader.cpp
..\src\lzma_reader.cpp(28): error C2118: negative subscript

Doing a 32-bit compilation succeeds in both cases. Is bpm designed to only work as a 32-bit application ?

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.