Skip to content

Commit bb572e4

Browse files
authored
Merge pull request #242 from tetengo/v1.6.1-boost_upgrade
Merge pull request #238 from tetengo/boost_upgrade
2 parents 70b0d6c + cbc1e32 commit bb572e4

File tree

5 files changed

+30
-24
lines changed

5 files changed

+30
-24
lines changed

.github/workflows/linux-clang.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ env:
1818
CLANGXX_COMMAND: clang++-11
1919
DOXYGEN_VER: 1.9.3
2020
DOXYGEN_CACHE_REV: 0
21-
BOOST_VER: 1_78_0
22-
BOOST_VER_DOT: 1.78.0
21+
BOOST_VER: 1_79_0
22+
BOOST_VER_DOT: 1.79.0
2323
BOOST_TOOLSET: clang
2424
BOOST_CACHE_REV: 0
2525

.github/workflows/linux-gcc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ env:
1616
CONCURRENT_BUILD: 4
1717
GCC_COMMAND: gcc-10
1818
GXX_COMMAND: g++-10
19-
BOOST_VER: 1_78_0
20-
BOOST_VER_DOT: 1.78.0
19+
BOOST_VER: 1_79_0
20+
BOOST_VER_DOT: 1.79.0
2121
BOOST_TOOLSET: gcc
2222
BOOST_CACHE_REV: 0
2323

.github/workflows/windows-visualcpp.yml

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,30 @@ on:
1515
env:
1616
TETENGO_VER: 1.6.0
1717
CONCURRENT_BUILD: 4
18-
BOOST_VER: 1_78_0
19-
BOOST_VER_DOT: 1.78.0
18+
BOOST_VER: 1_79_0
19+
BOOST_VER_DOT: 1.79.0
2020
BOOST_TOOLSET: msvc-14.3
21-
BOOST_CACHE_REV: 0
21+
BOOST_CACHE_REV: 6
2222
EMBEDTRANSFORM_CACHE_REV: 0
2323

2424
jobs:
2525
boost_download:
26-
name: Boost Download and Expansion
26+
name: Boost Download
2727
runs-on: windows-2022
2828
steps:
2929
- name: Cache Boost source
3030
uses: actions/cache@v2
3131
with:
32-
path: .boost_build\boost_${{ env.BOOST_VER }}
32+
path: .boost_build\boost_${{ env.BOOST_VER }}.tar.gz
3333
key: Windows-VisualCpp-BoostSource-${{ env.BOOST_VER }}-${{ env.BOOST_CACHE_REV }}
3434

35-
- name: Download and expand Boost
35+
- name: Download Boost
3636
shell: cmd
3737
run: |
38-
if not exist .boost_build\boost_${{ env.BOOST_VER }}\.expansion_finished (
38+
if not exist .boost_build\boost_${{ env.BOOST_VER }}.tar.gz (
3939
mkdir .boost_build
4040
cd .boost_build
4141
curl -L -o boost_${{ env.BOOST_VER }}.tar.gz https://boostorg.jfrog.io/artifactory/main/release/${{ env.BOOST_VER_DOT }}/source/boost_${{ env.BOOST_VER }}.tar.gz
42-
tar -xf boost_${{ env.BOOST_VER }}.tar.gz
43-
echo > boost_${{ env.BOOST_VER }}\.expansion_finished
4442
)
4543
4644
boost_build_for_release_win32:
@@ -54,7 +52,7 @@ jobs:
5452
- name: Restore Boost source
5553
uses: actions/cache@v2
5654
with:
57-
path: .boost_build\boost_${{ env.BOOST_VER }}
55+
path: .boost_build\boost_${{ env.BOOST_VER }}.tar.gz
5856
key: Windows-VisualCpp-BoostSource-${{ env.BOOST_VER }}-${{ env.BOOST_CACHE_REV }}
5957

6058
- name: Cache Boost build
@@ -67,7 +65,9 @@ jobs:
6765
shell: cmd
6866
run: |
6967
if not exist .boost_build\boost_${{ env.BOOST_VER }}\.build_finished (
70-
cd .boost_build\boost_${{ env.BOOST_VER }}
68+
cd .boost_build
69+
tar -xf boost_${{ env.BOOST_VER }}.tar.gz
70+
cd boost_${{ env.BOOST_VER }}
7171
call bootstrap.bat
7272
b2.exe -j ${{ env.CONCURRENT_BUILD }} toolset=${{ env.BOOST_TOOLSET }} address-model=32 variant=release link=static --stagedir="stage\Win32" stage
7373
echo > .build_finished
@@ -84,7 +84,7 @@ jobs:
8484
- name: Restore Boost source
8585
uses: actions/cache@v2
8686
with:
87-
path: .boost_build\boost_${{ env.BOOST_VER }}
87+
path: .boost_build\boost_${{ env.BOOST_VER }}.tar.gz
8888
key: Windows-VisualCpp-BoostSource-${{ env.BOOST_VER }}-${{ env.BOOST_CACHE_REV }}
8989

9090
- name: Cache Boost build
@@ -97,7 +97,9 @@ jobs:
9797
shell: cmd
9898
run: |
9999
if not exist .boost_build\boost_${{ env.BOOST_VER }}\.build_finished (
100-
cd .boost_build\boost_${{ env.BOOST_VER }}
100+
cd .boost_build
101+
tar -xf boost_${{ env.BOOST_VER }}.tar.gz
102+
cd boost_${{ env.BOOST_VER }}
101103
call bootstrap.bat
102104
b2.exe -j ${{ env.CONCURRENT_BUILD }} toolset=${{ env.BOOST_TOOLSET }} address-model=32 variant=debug link=static --stagedir="stage\Win32" stage
103105
echo > .build_finished
@@ -114,7 +116,7 @@ jobs:
114116
- name: Restore Boost source
115117
uses: actions/cache@v2
116118
with:
117-
path: .boost_build\boost_${{ env.BOOST_VER }}
119+
path: .boost_build\boost_${{ env.BOOST_VER }}.tar.gz
118120
key: Windows-VisualCpp-BoostSource-${{ env.BOOST_VER }}-${{ env.BOOST_CACHE_REV }}
119121

120122
- name: Cache Boost build
@@ -127,7 +129,9 @@ jobs:
127129
shell: cmd
128130
run: |
129131
if not exist .boost_build\boost_${{ env.BOOST_VER }}\.build_finished (
130-
cd .boost_build\boost_${{ env.BOOST_VER }}
132+
cd .boost_build
133+
tar -xf boost_${{ env.BOOST_VER }}.tar.gz
134+
cd boost_${{ env.BOOST_VER }}
131135
call bootstrap.bat
132136
b2.exe -j ${{ env.CONCURRENT_BUILD }} toolset=${{ env.BOOST_TOOLSET }} address-model=64 variant=release link=static --stagedir="stage\x64" stage
133137
echo > .build_finished
@@ -144,7 +148,7 @@ jobs:
144148
- name: Restore Boost source
145149
uses: actions/cache@v2
146150
with:
147-
path: .boost_build\boost_${{ env.BOOST_VER }}
151+
path: .boost_build\boost_${{ env.BOOST_VER }}.tar.gz
148152
key: Windows-VisualCpp-BoostSource-${{ env.BOOST_VER }}-${{ env.BOOST_CACHE_REV }}
149153

150154
- name: Cache Boost build
@@ -157,7 +161,9 @@ jobs:
157161
shell: cmd
158162
run: |
159163
if not exist .boost_build\boost_${{ env.BOOST_VER }}\.build_finished (
160-
cd .boost_build\boost_${{ env.BOOST_VER }}
164+
cd .boost_build
165+
tar -xf boost_${{ env.BOOST_VER }}.tar.gz
166+
cd boost_${{ env.BOOST_VER }}
161167
call bootstrap.bat
162168
b2.exe -j ${{ env.CONCURRENT_BUILD }} toolset=${{ env.BOOST_TOOLSET }} address-model=64 variant=debug link=static --stagedir="stage\x64" stage
163169
echo > .build_finished

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ How to Build and Install
8282
#### Requirements
8383

8484
- [Visual Studio 2022](https://visualstudio.microsoft.com/)
85-
- [Boost C++ libraries 1.78.0](https://www.boost.org/)
85+
- [Boost C++ libraries 1.79.0](https://www.boost.org/)
8686
- [Doxygen 1.9.3](https://www.doxygen.nl/)
8787
- [Graphviz](https://www.graphviz.org/)
8888
- [WiX toolset 3.11.2](https://wixtoolset.org/)
@@ -140,7 +140,7 @@ Doxygen will output the documents into the directory `doc`.
140140

141141
- [Clang 11](https://clang.llvm.org/) or
142142
[GCC 10](https://gcc.gnu.org/)
143-
- [Boost C++ libraries 1.78.0](https://www.boost.org/)
143+
- [Boost C++ libraries 1.79.0](https://www.boost.org/)
144144
- [Doxygen 1.9.3](https://www.doxygen.nl/)
145145
- [Graphviz](https://www.graphviz.org/)
146146
- [include-what-you-use 0.12](https://include-what-you-use.org/) or

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ AC_SUBST([CFLAGS], "${CFLAGS} ${PTHREAD_CFLAGS}")
185185
AC_SUBST([CXXFLAGS], "${CXXFLAGS} ${PTHREAD_CFLAGS}")
186186
AC_SUBST([CC], "${PTHREAD_CC}")
187187

188-
AX_BOOST_BASE([1.78.0])
188+
AX_BOOST_BASE([1.79.0])
189189
AX_BOOST_UNIT_TEST_FRAMEWORK
190190
AC_SUBST([LDFLAGS], "${LDFLAGS} ${BOOST_LDFLAGS}")
191191
AC_SUBST([LIBS], "-lstdc++fs -lstdc++ ${LIBS}")

0 commit comments

Comments
 (0)