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 9bd5ad6 commit 002eb47
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dune
Expand Up @@ -40,7 +40,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 @@ -64,7 +64,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 @@ -90,7 +90,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 @@ -115,5 +115,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 002eb47

Please sign in to comment.