Skip to content

Commit

Permalink
update boost to 1.72.0 (#2)
Browse files Browse the repository at this point in the history
- update extracting boost subset instruction
- add extracting script for Linux
  • Loading branch information
ichisadashioko authored Apr 25, 2020
1 parent 1c2451c commit fa7fbdc
Show file tree
Hide file tree
Showing 1,759 changed files with 27,876 additions and 180,892 deletions.
17 changes: 15 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
b2
# b2.exe
b2.exe
bin.v2
bjam
# bjam.exe
bjam.exe
bootstrap.log
boost
dist
project-config.jam*
stage
stage_x64
user-config.jam
.settings
.project
.pydevproject

*.exe
*.pdb
*.obj
2 changes: 1 addition & 1 deletion Jamroot
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ import option ;
import tools/boost\_install/boost-install ;

path-constant BOOST_ROOT : . ;
constant BOOST_VERSION : 1.71.0 ;
constant BOOST_VERSION : 1.72.0 ;
constant BOOST_JAMROOT_MODULE : $(__name__) ;

boostcpp.set-version $(BOOST_VERSION) ;
Expand Down
29 changes: 11 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,17 @@
Boost libraries - trimmed down for Vita3K
========================================
# Boost libraries - trimmed down for Vita3K

This is a subset of Boost v1.67.0 generated using the bcp tool. To get a list of boost modules guaranteed to exist, check the build script.
This is a subset of Boost v1.72.0 generated using the bcp tool. To get a list of boost modules guaranteed to exist, check the build script.
Adapted from [citra-emu/ext-boost](https://github.com/citra-emu/ext-boost).

Updating this repo (on Windows)
===============================
## Updating this repo

To update the Boost version (or to add a new library) follow these steps:

- Download Boost and extract the package, then launch Powershell and `cd` to the `boost_1_xx_0` directory.
- Build the `bcp` tool:
```
.\boostrap.bat
.\b2 tools\bcp
```
- Store the boost directory in a variable for later use: `$boost_dir = $pwd`.
- `cd` to this repo's directory (`...\externals\boost\`)
- Remove the existing boost from the repo: `rm -r boost` (This is only necessary if doing a Boost version upgrade, in case they removed any files in the new version.)
- Run `.\build.cmd $boost_dir` to build a new trimmed down distro.
- Copy the `tools/build/` directory from the untouched `boost_1_xx_0` zip to `./tools/build`. Alternatively we could include it with `bcp`'s files, but it would also include a bunch of build files (since we've built Boost build tools) that unecessarily increase the size.
- Add/remove all files in git and commit.
- Download [`boost`](https://boost.org) and extract the package.
- Copy `update.sh` or `update.cmd` in this repo to extracted directory of `boost`.
- `cd` to extracted `boost` directory and run `update` script. The trimed down version of `boost` will be in the `subsets-boost` directory.
- Copy `update.sh`, `update.bat`, `.gitignore`, and `README.md` in this repo to another directory.
- Remove all the files in this directory (except the `.git` directory).
- Copy all files in `subsets-boost` to this repo directory.
- Copy `update.sh`, `update.bat`, `.gitignore`, and `README.md` back to this repo directory.
- Commit all changes.
Binary file removed b2.exe
Binary file not shown.
Binary file removed bcp.exe
Binary file not shown.
Binary file removed bjam.exe
Binary file not shown.
1 change: 1 addition & 0 deletions boost/algorithm/cxx11/all_of.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#ifndef BOOST_ALGORITHM_ALL_OF_HPP
#define BOOST_ALGORITHM_ALL_OF_HPP

#include <boost/config.hpp>
#include <boost/range/begin.hpp>
#include <boost/range/end.hpp>

Expand Down
Loading

0 comments on commit fa7fbdc

Please sign in to comment.