This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,10 @@
(library
(name byteonly)
(modes byte))
(library
(name nativeonly)
(modes native))
(library
(name byteandnative))

View file

@ -0,0 +1,9 @@
Generate targets when modes are set for libraries
$ dune build --display short @all 2>&1 | grep 'cma\|cmxa\|cmxs'
ocamlc byteandnative.cma
ocamlc byteonly.cma
ocamlopt byteandnative.{a,cmxa}
ocamlopt nativeonly.{a,cmxa}
ocamlopt byteandnative.cmxs
ocamlopt nativeonly.cmxs