Permalink
Browse files

Shippable: Compile druntime/Phobos modules separately

This decreases the build time by a very rough 2x 2-3 minutes.
  • Loading branch information...
kinke committed Nov 13, 2018
1 parent e445d9e commit eae4dc6657b0ed62465217d50ab2473fdc900ba5
Showing with 2 additions and 0 deletions.
  1. +2 −0 shippable.yml
@@ -63,6 +63,7 @@ build:
-DCMAKE_INSTALL_PREFIX=$PWD/../ldc-bootstrap \
-DD_COMPILER=$PWD/../ldc-ltsmaster/bin/ldmd2 \
-DCOMPILE_D_MODULES_SEPARATELY=ON \
-DCOMPILE_ALL_D_FILES_AT_ONCE=OFF \
..
- ninja -j32 install
- cd ..
@@ -78,6 +79,7 @@ build:
-DCMAKE_INSTALL_PREFIX=$LDC_INSTALL_DIR \
-DINCLUDE_INSTALL_DIR=$LDC_INSTALL_DIR/import \
-DD_COMPILER=$PWD/../ldc-bootstrap/bin/ldmd2 \
-DCOMPILE_ALL_D_FILES_AT_ONCE=OFF \
$EXTRA_CMAKE_FLAGS \
..
- ninja -j32

0 comments on commit eae4dc6

Please sign in to comment.