Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Commit

Permalink
Tweak build of bdw-gc
Browse files Browse the repository at this point in the history
 * Remove --disable-threads, it was responsible for crashes with
   larger scores, see:
https://lists.gnu.org/archive/html/lilypond-devel/2020-03/msg00339.html
 * Add --enable-large-config to avoid error on Windows with large
   scores: "Too many heap sections" from alloc.c
  • Loading branch information
hahnjo committed Mar 12, 2020
1 parent 929dd00 commit ba52a46
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/build_native_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,13 @@ build_gc()
(
cd "$build"
"$src/configure" $CONFIGURE_HOST --prefix="$GC_INSTALL" \
--disable-shared --enable-static --with-pic \
--disable-threads --disable-docs
--disable-shared --enable-static --disable-docs \
--enable-large-config
$MAKE -j$PROCS
$MAKE install

# Patch pkgconfig file to include -pthread.
sed_i "s|Cflags:.*|& -pthread|" "$GC_INSTALL/lib/pkgconfig/bdw-gc.pc"
) > "$LOG/gc.log" 2>&1 &
wait $! || print_failed_and_exit "$LOG/gc.log"
)
Expand Down

0 comments on commit ba52a46

Please sign in to comment.