File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 6767 mkdir -p v8/out/${{ inputs.os }}/release/obj/zig/
6868 ln -s ${{ inputs.cache-dir }}/v8/libc_v8.a v8/out/${{ inputs.os }}/release/obj/zig/libc_v8.a
6969
70+ - name : Cache libiconv
71+ id : cache-libiconv
72+ uses : actions/cache@v4
73+ env :
74+ cache-name : cache-libiconv
75+ with :
76+ path : ${{ inputs.cache-dir }}/libiconv
77+ key : vendor/libiconv/libiconv-1.17
78+
7079 - name : libiconv
80+ if : ${{ steps.cache-libiconv.outputs.cache-hit != 'true' }}
7181 shell : bash
72- run : make install -libiconv
82+ run : make build -libiconv
7383
7484 - name : build mimalloc
7585 shell : bash
Original file line number Diff line number Diff line change @@ -202,11 +202,13 @@ ifeq ("$(wildcard vendor/libiconv/libiconv-1.17)","")
202202 curl https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.17.tar.gz | tar -xvzf -
203203endif
204204
205- install -libiconv : download-libiconv clean-libiconv
205+ build -libiconv : clean-libiconv
206206 @cd vendor/libiconv/libiconv-1.17 && \
207207 ./configure --prefix=$(ICONV ) --enable-static && \
208208 make && make install
209209
210+ install-libiconv : download-libiconv build-libiconv
211+
210212clean-libiconv :
211213ifneq ("$(wildcard vendor/libiconv/libiconv-1.17/Makefile) ","")
212214 @cd vendor/libiconv/libiconv-1.17 && \
You can’t perform that action at this time.
0 commit comments