Skip to content

Commit 336f214

Browse files
Fix Opam CI timeouts during build
1 parent 7663c65 commit 336f214

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

dune

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
vendor/cadical
1616
(progn
1717
(bash "CXXFLAGS=-fPIC ./configure")
18-
(run make)))
18+
(bash "make -j $(opam var jobs)")))
1919
(copy vendor/cadical/build/libcadical.a libcadical.a)
2020
(chdir
2121
vendor/libpoly
@@ -28,15 +28,15 @@
2828
-DCMAKE_INSTALL_PREFIX=$prefix)
2929
(chdir
3030
build
31-
(run make))
31+
(bash "make -j $(opam var jobs)"))
3232
(run mv include poly)))
3333
(copy vendor/libpoly/build/src/libpicpoly.a libpicpoly.a)
3434
(copy vendor/libpoly/build/src/libpicpolyxx.a libpicpolyxx.a)
3535
(chdir
3636
vendor/cvc5
3737
(progn
3838
(bash "./configure.sh --static")
39-
(run make -C build)))
39+
(bash "make -C build -j $(opam var jobs)")))
4040
(copy vendor/cvc5/build/src/libcvc5.a libcvc5.a)
4141
(copy vendor/cvc5/build/include/cvc5/cvc5_export.h cvc5_export.h)))))
4242

0 commit comments

Comments
 (0)