|
1 | 1 | package=boost
|
2 |
| -$(package)_version=1_70_0 |
3 |
| -$(package)_download_path=https://dl.bintray.com/boostorg/release/1.70.0/source/ |
| 2 | +$(package)_version=1_71_0 |
| 3 | +$(package)_download_path=https://dl.bintray.com/boostorg/release/$(subst _,.,$($(package)_version))/source/ |
4 | 4 | $(package)_file_name=boost_$($(package)_version).tar.bz2
|
5 |
| -$(package)_sha256_hash=430ae8354789de4fd19ee52f3b1f739e1fba576f0aded0897c3c2bc00fb38778 |
6 |
| -$(package)_patches=unused_var_in_process.patch |
| 5 | +$(package)_sha256_hash=d73a8da01e8bf8c7eda40b4c84915071a8c8a0df4a6734537ddde4a8580524ee |
| 6 | +$(package)_dependencies=native_b2 |
7 | 7 |
|
8 | 8 | define $(package)_set_vars
|
9 | 9 | $(package)_config_opts_release=variant=release
|
10 | 10 | $(package)_config_opts_debug=variant=debug
|
11 | 11 | $(package)_config_opts=--layout=tagged --build-type=complete --user-config=user-config.jam
|
12 |
| -$(package)_config_opts+=threading=multi link=static -sNO_BZIP2=1 -sNO_ZLIB=1 |
| 12 | +$(package)_config_opts+=threading=multi link=static -sNO_COMPRESSION=1 |
13 | 13 | $(package)_config_opts_linux=target-os=linux threadapi=pthread runtime-link=shared
|
14 | 14 | $(package)_config_opts_darwin=target-os=darwin runtime-link=shared
|
15 | 15 | $(package)_config_opts_mingw32=target-os=windows binary-format=pe threadapi=win32 runtime-link=static
|
16 |
| -$(package)_config_opts_x86_64_mingw32=address-model=64 |
17 |
| -$(package)_config_opts_i686_mingw32=address-model=32 |
18 |
| -$(package)_config_opts_i686_linux=address-model=32 architecture=x86 |
19 |
| -$(package)_config_opts_i686_android=address-model=32 |
20 |
| -$(package)_config_opts_aarch64_android=address-model=64 |
21 |
| -$(package)_config_opts_x86_64_android=address-model=64 |
22 |
| -$(package)_config_opts_armv7a_android=address-model=32 |
23 |
| -$(package)_toolset_$(host_os)=gcc |
24 |
| -$(package)_toolset_darwin=clang |
| 16 | +$(package)_config_opts_x86_64=architecture=x86 address-model=64 |
| 17 | +$(package)_config_opts_i686=architecture=x86 address-model=32 |
| 18 | +$(package)_config_opts_aarch64=address-model=64 |
| 19 | +$(package)_config_opts_armv7a=address-model=32 |
25 | 20 | ifneq (,$(findstring clang,$($(package)_cxx)))
|
26 |
| - $(package)_toolset_$(host_os)=clang |
| 21 | +$(package)_toolset_$(host_os)=clang |
| 22 | +else |
| 23 | +$(package)_toolset_$(host_os)=gcc |
27 | 24 | endif
|
28 |
| -$(package)_archiver_$(host_os)=$($(package)_ar) |
29 | 25 | $(package)_config_libraries=filesystem,system,thread,test
|
30 | 26 | $(package)_cxxflags=-std=c++11 -fvisibility=hidden
|
31 | 27 | $(package)_cxxflags_linux=-fPIC
|
32 | 28 | $(package)_cxxflags_android=-fPIC
|
33 | 29 | endef
|
34 | 30 |
|
35 | 31 | define $(package)_preprocess_cmds
|
36 |
| - patch -p1 < $($(package)_patch_dir)/unused_var_in_process.patch && \ |
37 |
| - echo "using $($(package)_toolset_$(host_os)) : : $($(package)_cxx) : <cxxflags>\"$($(package)_cxxflags) $($(package)_cppflags)\" <linkflags>\"$($(package)_ldflags)\" <archiver>\"$($(package)_archiver_$(host_os))\" <striper>\"$(host_STRIP)\" <ranlib>\"$(host_RANLIB)\" <rc>\"$(host_WINDRES)\" : ;" > user-config.jam |
| 32 | + echo "using $($(package)_toolset_$(host_os)) : : $($(package)_cxx) : <cflags>\"$($(package)_cflags)\" <cxxflags>\"$($(package)_cxxflags)\" <compileflags>\"$($(package)_cppflags)\" <linkflags>\"$($(package)_ldflags)\" <archiver>\"$($(package)_ar)\" <striper>\"$(host_STRIP)\" <ranlib>\"$(host_RANLIB)\" <rc>\"$(host_WINDRES)\" : ;" > user-config.jam |
38 | 33 | endef
|
39 | 34 |
|
40 | 35 | define $(package)_config_cmds
|
41 |
| - ./bootstrap.sh --without-icu --with-libraries=$($(package)_config_libraries) --with-toolset=$($(package)_toolset_$(host_os)) |
| 36 | + ./bootstrap.sh --without-icu --with-libraries=$($(package)_config_libraries) --with-toolset=$($(package)_toolset_$(host_os)) --with-bjam=b2 |
42 | 37 | endef
|
43 | 38 |
|
44 | 39 | define $(package)_build_cmds
|
45 |
| - ./b2 -d2 -j2 -d1 --prefix=$($(package)_staging_prefix_dir) $($(package)_config_opts) toolset=$($(package)_toolset_$(host_os)) stage |
| 40 | + b2 -d2 -j2 -d1 --prefix=$($(package)_staging_prefix_dir) $($(package)_config_opts) toolset=$($(package)_toolset_$(host_os)) stage |
46 | 41 | endef
|
47 | 42 |
|
48 | 43 | define $(package)_stage_cmds
|
49 |
| - ./b2 -d0 -j4 --prefix=$($(package)_staging_prefix_dir) $($(package)_config_opts) toolset=$($(package)_toolset_$(host_os)) install |
| 44 | + b2 -d0 -j4 --prefix=$($(package)_staging_prefix_dir) $($(package)_config_opts) toolset=$($(package)_toolset_$(host_os)) install |
50 | 45 | endef
|
0 commit comments