Skip to content

Commit

Permalink
dune build @fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Marcello Seri <[email protected]>
  • Loading branch information
mseri committed Mar 28, 2023
1 parent 0336e22 commit 24ee67c
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 13 deletions.
4 changes: 2 additions & 2 deletions antic/antic/dune
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
CFLAGS=-fPIC)
(run make library -j)
(run make install)
(system "if [ -f ../prefix/lib/libantic.dylib ]; then mv ../prefix/lib/libantic.dylib ../prefix/lib/libantic.so; fi")
))
(system
"if [ -f ../prefix/lib/libantic.dylib ]; then mv ../prefix/lib/libantic.dylib ../prefix/lib/libantic.so; fi")))
(copy prefix/lib/libantic%{ext_dll} dllantic%{ext_dll})
(copy prefix/lib/libantic%{ext_lib} libantic%{ext_lib})
(copy prefix/include/antic/nf_elem.h nf_elem.h)
Expand Down
4 changes: 2 additions & 2 deletions arb/dune
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@
CFLAGS=-fPIC)
(run make library -j)
(run make install)
(system "if [ -f ../prefix/lib/libarb.dylib ]; then mv ../prefix/lib/libarb.dylib ../prefix/lib/libarb.so; fi")
))
(system
"if [ -f ../prefix/lib/libarb.dylib ]; then mv ../prefix/lib/libarb.dylib ../prefix/lib/libarb.so; fi")))
(copy prefix/lib/libarb%{ext_dll} dllarb%{ext_dll})
(copy prefix/lib/libarb%{ext_lib} libarb%{ext_lib})
(copy prefix/include/dirichlet.h dirichlet.h)
Expand Down
4 changes: 2 additions & 2 deletions calcium/lib/dune
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
CFLAGS=-fPIC)
(run make library -j)
(run make install)
(system "if [ -f ../prefix/lib/libcalcium.dylib ]; then mv ../prefix/lib/libcalcium.dylib ../prefix/lib/libcalcium.so; fi")
))
(system
"if [ -f ../prefix/lib/libcalcium.dylib ]; then mv ../prefix/lib/libcalcium.dylib ../prefix/lib/libcalcium.so; fi")))
(copy prefix/lib/libcalcium%{ext_dll} dllcalcium%{ext_dll})
(copy prefix/lib/libcalcium%{ext_lib} libcalcium%{ext_lib})
(copy prefix/include/calcium/qqbar.h qqbar.h)
Expand Down
3 changes: 1 addition & 2 deletions calcium/tests/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
(names units)
(modules units)
(libraries calcium)
(package calcium)
)
(package calcium))

;; Need dune whole mode for foreign library

Expand Down
4 changes: 2 additions & 2 deletions flint/flint/dune
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@
(run ./configure --prefix=../prefix CFLAGS=-fPIC --with-pkg-config)
(run make library -j)
(run make install)
(system "if [ -f ../prefix/lib/libflint.dylib ]; then mv ../prefix/lib/libflint.dylib ../prefix/lib/libflint.so; fi")
))
(system
"if [ -f ../prefix/lib/libflint.dylib ]; then mv ../prefix/lib/libflint.dylib ../prefix/lib/libflint.so; fi")))
(copy prefix/lib/libflint%{ext_lib} libflint%{ext_lib})
(copy prefix/lib/libflint%{ext_dll} dllflint%{ext_dll})
(copy prefix/include/flint/aprcl.h aprcl.h)
Expand Down
6 changes: 3 additions & 3 deletions flint/tests/dune
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
(names dynamic)
(modules dynamic)
(libraries dune-site.plugins zarith threads)
(deps (package flint))
(package flint)
)
(deps
(package flint))
(package flint))

0 comments on commit 24ee67c

Please sign in to comment.