]> git.pld-linux.org Git - packages/libreoffice.git/commitdiff
- add 4/4
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 6 May 2004 21:46:22 +0000 (21:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    openoffice-pld-parallel-build.patch -> 1.2

openoffice-pld-parallel-build.patch

index 8db4eb502997d4af00aeb125e4f9f21e9d96fe55..0a853f11c0c5e3f68a414538134adcefa9564ee0 100644 (file)
@@ -1,22 +1,26 @@
 diff -urN ooo-build-1.1.55.org/bin/build-ooo ooo-build-1.1.55/bin/build-ooo
 --- ooo-build-1.1.55.org/bin/build-ooo 2004-05-06 23:22:35.741584000 +0200
-+++ ooo-build-1.1.55/bin/build-ooo     2004-05-06 23:28:44.127580816 +0200
-@@ -467,7 +467,13 @@
++++ ooo-build-1.1.55/bin/build-ooo     2004-05-06 23:46:10.783464936 +0200
+@@ -467,7 +467,17 @@
  cd instsetoo || exit 1;
  EXTRA_BUILD_FLAGS=
  if test $BUILD_NCPUS -gt 1; then
 -    EXTRA_BUILD_FLAGS=-P$BUILD_NCPUS
 +    if test $BUILD_NCPUS -lt 3; then
-+      EXTRA_BUILD_FLAGS=-P$BUILD_NCPUS
-+    else
++      EXTRA_BUILD_FLAGS=-P2
++    elif test $BUILD_NCPUS -lt 7; then
 +      # limit to 2/2 only
 +      EXTRA_BUILD_FLAGS_PRE="-P2"
 +      EXTRA_BUILD_FLAGS_POST="-- -P2"
++    else
++      # limit to 4/4 only
++      EXTRA_BUILD_FLAGS_PRE="-P4"
++      EXTRA_BUILD_FLAGS_POST="-- -P4"
 +    fi
  fi
  if test "z$BUILD_WIN32" == "z"; then
      EXTRA_BUILD_FLAGS="$EXTRA_BUILD_FLAGS --dlv_switch link"
-@@ -475,7 +481,7 @@
+@@ -475,7 +485,7 @@
  
  # Accelerate straight-through compiles by not building / using dependencies
  export nodep=1
This page took 0.118058 seconds and 4 git commands to generate.