Skip to content

Commit 1238c1f

Browse files
committed
fix ci
1 parent 50d6097 commit 1238c1f

File tree

1 file changed

+2
-71
lines changed

1 file changed

+2
-71
lines changed

.github/workflows/ci.yml

+2-71
Original file line numberDiff line numberDiff line change
@@ -157,42 +157,6 @@ jobs:
157157
tar xf boost_${{ matrix.boost-ver }}.tar.bz2
158158
mkdir boost_${{ matrix.boost-ver }}/installdir
159159
160-
# - name: Patch boost source (MacOS)
161-
# if: matrix.os == 'macos-12' && steps.cache-boost-macos.outputs.cache-hit != 'true' && matrix.boost == 'oldest'
162-
# run: |
163-
# cd boost_${{ matrix.boost-ver }}/tools/build/src/engine
164-
# cp build.sh build.sh.bak
165-
# awk '/darwin\)/{print; print " BOOST_JAM_OPT_JAM=\"$BOOST_JAM_OPT_JAM $CFLAGS $LIBS\""; next }1' build.sh > build.sh.tmp
166-
# mv build.sh.tmp build.sh
167-
# chmod a+x build.sh
168-
# # cat build.sh
169-
# # cp execcmd.c execcmd.c.bak
170-
# # awk '/#include "execcmd.h"/{print; print "#include \"output.h\""; next }1' execcmd.c > execcmd.c.tmp
171-
# # mv execcmd.c.tmp execcmd.c
172-
# # cat execcmd.c
173-
# cp make.c make.c.bak
174-
# awk '/#include "make.h"/{print; print "#include \"output.h\""; next }1' make.c > make.c.tmp
175-
# mv make.c.tmp make.c
176-
# # cat make.c
177-
# cp filesys.c filesys.c.bak
178-
# awk '/#include "filesys.h"/{print; print "int filelist_empty( FILELIST * list );"; next }1' filesys.c > filesys.c.tmp
179-
# mv filesys.c.tmp filesys.c
180-
# # cat filesys.c
181-
# cp modules/path.c modules/path.c.bak
182-
# awk '/#include "..\/timestamp.h"/{print; print "#include \"../filesys.h\""; next }1' modules/path.c > modules/path.c.tmp
183-
# mv modules/path.c.tmp modules/path.c
184-
# # cat modules/path.c
185-
# cp fileunix.c fileunix.c.bak
186-
# awk '/#include "jam.h"/{print; print "int filelist_empty( FILELIST * list );"; next }1' fileunix.c > fileunix.c.tmp
187-
# awk '/#include "jam.h"/{print; print "#include \"filesys.h\""; next }1' fileunix.c.tmp > fileunix.c.tmp.1
188-
# awk '/#include "filesys.h"/{print; print "int file_collect_archive_content_( file_archive_info_t * const archive );"; next }1' fileunix.c.tmp.1 > fileunix.c
189-
# # cat fileunix.c
190-
# cd ../tools
191-
# cp darwin.jam darwin.jam.bak
192-
# head -n138 darwin.jam > darwin.jam.tmp
193-
# tail -n +145 darwin.jam >> darwin.jam.tmp
194-
# mv darwin.jam.tmp darwin.jam
195-
196160
- name: Build boost (MacOS)
197161
if: matrix.os == 'macos-12' && steps.cache-boost-macos.outputs.cache-hit != 'true'
198162
shell: bash
@@ -208,8 +172,8 @@ jobs:
208172
./b2
209173
./b2 install
210174
211-
- name: Patch boost library dependencies (MacOS, non-oldest)
212-
if: matrix.os == 'macos-12' # && matrix.boost != 'oldest' # && steps.cache-boost-macos.outputs.cache-hit != 'true'
175+
- name: Patch boost library dependencies (MacOS)
176+
if: matrix.os == 'macos-12' # && steps.cache-boost-macos.outputs.cache-hit != 'true'
213177
run: |
214178
cd boost_${{ matrix.boost-ver }}/installdir/lib
215179
pwd
@@ -235,39 +199,6 @@ jobs:
235199
otool -L libboost_thread.dylib
236200
echo ================================================
237201
238-
# - name: Patch boost library dependencies (MacOS, oldest)
239-
# if: matrix.os == 'macos-12' && matrix.boost == 'oldest' # && steps.cache-boost-macos.outputs.cache-hit != 'true'
240-
# run: |
241-
# cd boost_${{ matrix.boost-ver }}/installdir/lib
242-
# pwd
243-
# ls
244-
# echo ================================================
245-
# otool -L libboost_log.dylib
246-
# otool -L libboost_chrono.dylib
247-
# otool -L libboost_thread.dylib
248-
# otool -L libboost_unit_test_framework.dylib
249-
# otool -L libboost_timer.dylib
250-
# echo ================================================
251-
# here=$(pwd)
252-
# install_name_tool -change libboost_atomic.dylib ${here}/libboost_atomic.dylib libboost_log.dylib
253-
# install_name_tool -change libboost_chrono.dylib ${here}/libboost_chrono.dylib libboost_log.dylib
254-
# install_name_tool -change libboost_filesystem.dylib ${here}/libboost_filesystem.dylib libboost_log.dylib
255-
# install_name_tool -change libboost_thread.dylib ${here}/libboost_thread.dylib libboost_log.dylib
256-
# install_name_tool -change libboost_date_time.dylib ${here}/libboost_date_time.dylib libboost_log.dylib
257-
# install_name_tool -change libboost_system.dylib ${here}/libboost_system.dylib libboost_log.dylib
258-
# install_name_tool -change libboost_regex.dylib ${here}/libboost_regex.dylib libboost_log.dylib
259-
# install_name_tool -change libboost_system.dylib ${here}/libboost_system.dylib libboost_chrono.dylib
260-
# install_name_tool -change libboost_system.dylib ${here}/libboost_system.dylib libboost_thread.dylib
261-
# install_name_tool -change libboost_timer.dylib ${here}/libboost_timer.dylib libboost_unit_test_framework.dylib
262-
# install_name_tool -change libboost_chrono.dylib ${here}/libboost_chrono.dylib libboost_timer.dylib
263-
# echo ================================================
264-
# otool -L libboost_log.dylib
265-
# otool -L libboost_chrono.dylib
266-
# otool -L libboost_thread.dylib
267-
# otool -L libboost_unit_test_framework.dylib
268-
# otool -L libboost_timer.dylib
269-
# echo ================================================
270-
271202
- name: Configure scribbu (Ubuntu, non-latest)
272203
if: matrix.os == 'ubuntu-22.04' && matrix.boost != 'latest'
273204
shell: bash

0 commit comments

Comments
 (0)