Skip to content

Commit

Permalink
fix: Use double dash before -j4 to always pass through (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Jan 20, 2022
1 parent 8c5e25e commit 3ee07ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dune
Expand Up @@ -41,7 +41,7 @@
-DBUILD_STATIC_LIB=ON
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=binaryen)
(run cmake --build binaryen --config Release -j 4)
(run cmake --build binaryen --config Release -- -j4)
(copy binaryen/lib/libbinaryen.a libbinaryen.a)))))

(rule
Expand All @@ -66,7 +66,7 @@
-DBUILD_STATIC_LIB=OFF
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=binaryen)
(run cmake --build binaryen --config Release -j 4)
(run cmake --build binaryen --config Release -- -j4)
(copy binaryen/lib/libbinaryen.dylib dllbinaryen.so)))))

(rule
Expand All @@ -93,7 +93,7 @@
-DBUILD_STATIC_LIB=OFF
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=binaryen)
(run cmake --build binaryen --config Release -j 4)
(run cmake --build binaryen --config Release -- -j4)
(copy binaryen/lib/libbinaryen.so dllbinaryen.so)))))

(rule
Expand All @@ -119,5 +119,5 @@
-DBUILD_STATIC_LIB=OFF
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=binaryen)
(run cmake --build binaryen --config Release -j 4)
(run cmake --build binaryen --config Release -- -j4)
(copy binaryen/bin/libbinaryen.dll dllbinaryen.dll)))))

0 comments on commit 3ee07ca

Please sign in to comment.