File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -204,12 +204,14 @@ jobs:
204204
205205 - name : Configure tcmalloc
206206 run : |
207- apk add --no-cache autoconf automake libtool
208- cd dart-sdk/sdk/third_party/tcmalloc/gperftools
209- ./autogen.sh
210- ./configure --enable-emergency-malloc --enable-frame-pointers --enable-cpu-profiler --disable-heap-checker --disable-debugalloc --enable-sized-delete --disable-libunwind
211- cd ../include
212- find . -type f -print0 | xargs -0 -n 1 -- sh -xc 'cp -f "../gperftools/src/$1" "$1"' --
207+ if test -d dart-sdk/sdk/third_party/tcmalloc/gperftools; then
208+ apk add --no-cache autoconf automake libtool
209+ cd dart-sdk/sdk/third_party/tcmalloc/gperftools
210+ ./autogen.sh
211+ ./configure --enable-emergency-malloc --enable-frame-pointers --enable-cpu-profiler --disable-heap-checker --disable-debugalloc --enable-sized-delete --disable-libunwind
212+ cd ../include
213+ find . -type f -print0 | xargs -0 -n 1 -- sh -xc 'cp -f "../gperftools/src/$1" "$1"' --
214+ fi
213215
214216 - name : Build
215217 run : |
You can’t perform that action at this time.
0 commit comments