package ocamlbuild
Install
Dune Dependency
Authors
Maintainers
Sources
md5=220df59060c916e8aac2eb471c870485
sha512=def8fa1d5488905fda31f72b7f6f0ebdccefa55a8e984a6ea4a7c1e0856e8ea1f7814410202e0f7f7d5e72aca7e8ae0d6623f7f2bade78b0dd82155de76ec4e5
Description
Published: 21 Dec 2023
README
OCamlbuild
OCamlbuild is a generic build tool, that has built-in rules for building OCaml library and programs.
In recent years, the OCaml community has converged towards a more recent and faster build tool: Dune. If you are choosing a build system, you should probably use Dune instead. (Between January and June 2019, 77 new OCaml packages using ocamlbuild were publicly released, versus 544 packages using dune.)
Your should refer to the OCambuild manual for more informations on how to use ocamlbuild.
Automatic Installation
With opam:
opam install ocamlbuild
If you are testing a not yet released version of OCaml, you may need to use the development version of OCamlbuild. With opam:
opam pin add ocamlbuild --kind=git "https://github.com/ocaml/ocamlbuild.git#master"
Compilation from source
We assume GNU make, which may be named gmake
on your system.
- Configure.
make configure
The installation location is determined by the installation location of the ocaml compiler. You can set the following configuration variables (make configure VAR=foo
):
OCAMLBUILD_{PREFIX,BINDIR,LIBDIR}
will use opam or ocaml/ocamlfind's settings by default; seeconfigure.make
for the precise initialization logic.OCAML_NATIVE
: should betrue
if native compilation is available on your machine,false
otherwise
- Compile the sources.
make
- Install.
make install
You can also clean the compilation results with make clean
, and uninstall a manually-installed OCamlbuild with make uninstall
.
Dependencies (1)
-
ocaml
>= "4.03"
Dev Dependencies
None
-
ANSITerminal
< "0.8"
-
abella
< "2.0.8"
-
afl-persistent
< "1.1"
-
ago
< "0.4"
-
alba
< "0.4.1"
- aliases
-
anycache
< "0.7.4"
-
apron
< "20150820" | >= "20160108"
- archimedes
- archsat
-
ascii85
< "0.4"
- asetmap
-
asl
< "0.11"
-
asli
< "0.2.0"
-
asn1-combinators
< "0.2.5"
- assertions
- astring
- atd2cconv
- BetterErrors
- b0
- bap-build
- base58
-
base64
< "2.2.0"
-
batteries
< "3.7.1"
- bddapron
- bear
-
beluga
< "1.0"
-
benchmark
< "1.5"
-
bencode
< "2.0"
-
bindlib
>= "4.0.4" & < "6.0.0"
- bisect
-
bisect_ppx
< "1.3.3"
-
bisect_ppx-ocamlbuild
>= "1.0.1"
-
bitcoin
< "3.0"
- bolt
- bookaml
- bos
- bpf
- bracetax
- brotli
- brozip
- brr
- bytesrw
-
cairo2
< "0.6"
-
callipyge
< "0.2"
- camllib
-
camlp4
>= "4.02+1" & != "4.02+system" & != "4.03+system" & != "4.04+system" & != "4.05+system" & != "4.06+system" & != "4.07+system" & != "4.08+system" & != "4.09+system" & != "4.10+system" & != "4.11+system" & != "4.12+system" & != "4.13+system"
-
camltc
< "0.9.8"
- caper
- captureio
-
cbor
< "0.3"
-
cconv
< "0.5"
-
certify
< "0.3.0"
- cgroups
-
choice
< "0.4"
-
clangml
< "4.0.0"
- cmark
- cmarkit
-
cmdliner
< "1.0.4"
-
cmdtui
< "0.4.3"
- combine
-
conex
< "0.10.0"
-
coq-serapi
< "8.9.0+0.6.0"
- corecount
-
cow
< "2.3.0"
- cppo_ocamlbuild
-
cpuid
< "0.1.2"
-
crc
< "2.0.0"
- crdt-ml
-
crypt
< "1.3"
-
cryptokit
< "1.16.1"
-
csv
< "2.0"
- ctypes-build
-
cudf
< "0.10"
- DAGaml
-
datalog
< "0.6"
-
debian-formats
< "0.1.2"
-
dedukti
< "2.7"
-
devkit
< "1.0"
-
digestif
< "0.6.1"
-
dispatch
< "0.4.0"
- diy
-
docker-api
< "0.2"
-
dolmen
< "0.4"
-
dolog
< "4.0.0"
-
dose3
< "6.1"
- down
-
dtoa
< "0.3.0"
- dyntype
-
earley
< "3.0.0"
- efl
-
eigen
< "0.1.0"
-
elasticsearch-cli
< "0.5"
-
emoji
< "2.0.0"
- enumerators
-
exenum
< "0.82.0"
-
expect
< "0.1.0"
-
extunix
< "0.3.1"
-
ezsqlite
< "0.4"
-
faraday
< "0.3.0"
- farfadet
-
fieldslib
< "v0.12.0"
-
fileutils
< "0.6.1"
-
fix
< "20181206"
- flock
-
flow_parser
< "0.229.1"
- fmt
- fpath
-
fstar
< "2025.02.17"
- fstreams
- GuaCaml
- gadelac
-
gammu
< "0.9.4"
-
gdal
< "0.10.0"
- gedcom
-
gen
< "0.5.1"
- gen-bs
-
genspir
< "1.0.0"
- geoip
-
getopt
< "20230213"
- gg
-
goblint-cil
< "1.8.0"
-
gperftools
< "0.4"
- grain_wasm_spec
- grib
-
gsl
< "1.20.0"
- hamt
- hdfs
- heptagon
-
herdtools7
< "7.54"
- hevea
-
higher
>= "0.3.0"
-
hiredis
< "0.8"
- hlarp
- hmap
- htmlit
- humane-re
-
ISO8601
< "0.2.6"
- i2c
-
inferno
< "20190924"
-
inotify
< "2.4"
-
integers
< "0.3.0"
-
inuit
< "0.4.1"
- io
-
irc-client
< "0.6.0"
- irrlicht
-
itv-tree
< "2.2"
-
jasmin
< "2023.06.0"
- javascriptcore
-
jekyll-format
< "0.2.0"
-
jemalloc
< "0.2"
-
jhupllib
< "0.2.2"
- joolog
- js-build-tools
- js_of_ocaml-ocamlbuild
- json-rpc
- jsonm
- jsont
-
junit
< "1.0"
- kaputt
- karamel
-
kinetic-client
< "0.0.11"
-
kremlin
< "transition"
-
lacaml
< "10.0.1"
-
lambdasoup
< "0.6.2"
-
launchd
< "1.3"
- lem
-
lens
< "1.2.1"
- libssh
-
libsvm
< "0.9.4"
- libudev
- linkage
- linksem
- lipsum
-
llvm
< "3.9"
- llvmgraph
- logs
-
lru
< "0.3.0"
-
lua-ml
< "0.9.3"
-
lustre-v6
< "6.103.3"
-
lutils
< "1.51.2"
-
lutin
< "2.71.10"
- lwt-binio
- lwt-zmq
-
lwt_glib
< "1.1.0"
- lymp
-
lz4
< "1.2.0"
-
lzo
< "0.0.3"
-
macaque
< "0.7.4"
- macaroons
-
magic-mime
< "1.0.1"
- maildir
-
mariadb
< "1.2.0"
-
markup
< "0.7.6"
-
maxminddb
< "0.4"
- memcpy
-
menhir
< "20200123"
- mergeable-vector
-
mesh
< "0.8.9"
-
milter
< "1.0.4"
-
mindstorm
< "0.8"
- minima-theme
-
minisat
< "0.2"
-
mirage
< "4.0.0"
- mirage-btrees
-
mirage-channel
< "3.1.0"
-
mirage-kv
< "1.1.1"
-
mirage-kv-lwt
< "1.1.0"
-
mirage-net-macosx
< "1.2.0"
- mirage-seal
- mirage-tc
-
mirage-types
< "3.6.0"
-
mkaudio
< "1.1.0"
-
mlbdd
< "0.6"
- mlcuddidl
- monadlib
-
monomorphic
< "1.3"
-
morbig
< "0.10.3"
- mosquitto
-
mparser
< "1.3"
-
mpp
< "0.3.4"
-
msat
< "0.8"
- msgpack
-
msgpck
< "1.3"
- mtime
-
murmur3
< "0.3"
-
mustache
< "3.1.0"
-
mybuild
< "7"
- named-pipe
- namespaces
-
netlink
< "0.3.4"
-
nlopt-ocaml
< "transition"
- nlp
-
noCanren
< "0.3.0~alpha1"
- nocrypto
- nosetup
- note
-
notty
< "0.2.3"
- oasis
- oasis2debian
- oasis2opam
- obandit
-
obelisk
< "0.5.0"
- objsize
-
obus
< "1.2.0"
- obytelib
- ocaml-buddy
- ocaml-migrate-parsetree-ocamlbuild
-
ocaml-monadic
< "0.4.0"
-
ocaml-protoc
< "2.0.1"
- ocaml-protoc-yojson
- ocaml-sat-solvers
-
ocaml-systemd
< "1.3"
-
ocaml-xdg-basedir
< "transition"
- ocamlbuild-atdgen
- ocamlbuild-pkg
- ocamlbuild-protoc
- ocamlclean
-
ocamldap
< "transition"
-
ocamlify
< "0.1.0"
- ocamlmod
- ocamlnet
- ocamlpp
- ocapic
- ocb-stubblr
- ocephes
- ocp-index-top
-
ocplib-endian
< "1.1"
- ocsfml
-
octavius
< "1.1.0"
-
odds
< "1.1"
-
odepack
< "0.6.9"
- odig
-
olinq
< "0.3"
- olmi
-
omd
< "1.3.2"
-
oml
>= "0.0.7"
- omod
- omonad
- oolc
-
opal
< "0.1.1"
-
ordma
< "0.0.5"
-
orm
>= "0.7.1"
- orocksdb
-
osc
< "0.2.0"
-
osdp
< "1.1.1"
-
ostap
< "0.6"
- osx-acl
- osx-attr
- osx-membership
- osx-mount
- osx-plutil
- osx-xattr
- otfm
-
ott
>= "0.32"
-
ounit
< "2.1.2"
- pa_comprehension
-
pa_qualified
< "0.6"
-
pa_solution
!= "0.6"
- pa_where
-
papi
< "0.1.1"
-
parany
< "9.0.0"
- pareto
-
parmap
< "1.1.1"
-
pcap-format
< "0.5.2"
- pci
- pci-db
-
pcre
< "7.3.0"
-
pds-reachability
< "0.2.3"
-
pgocaml
< "4.0"
- pgsolver
-
piqi
< "0.7.6"
-
piqilib
< "0.6.14"
-
pkcs11
< "0.18.0"
-
pla
< "1.2"
-
plplot
< "5.11.0-1"
- podge
- polyglot
- posix-clock
-
posix-getopt
< "2.0.0"
- posix-math
- posix-mqueue
- posix-semaphore
- posix-time
-
posix-types
< "2.0.0"
-
postgresql
< "4.1.0"
-
pprint
< "20200226"
-
ppx_const
< "2.0"
-
ppx_defer
< "0.3.0"
- ppx_deriving_argparse
-
ppx_distr_guards
< "0.2"
-
ppx_monoid
< "0.3.2"
-
printbox
< "0.2"
- process
- proj4
-
proverif
< "2.01"
-
psq
< "0.1.1"
- ptime
-
pure-splitmix
< "0.3"
-
py
< "1.1"
-
qbf
< "0.3"
-
qcheck
< "0.13"
- qcstm
- qfs
- qocamlbrowser
- qrc
-
qtest
< "2.9"
-
radare2
< "0.0.3"
- ranger
- raygun4ocaml
-
rdbg
< "1.196.12"
- rdr
-
re
< "1.7.2"
- react
-
reactiveData
< "0.2"
-
records
< "0.7.0"
-
res
< "5.0.0"
-
resource-pooling
< "1.1"
-
rfc6287
< "1.0.4"
-
rfsm
< "1.6-alpha-3"
- riak
- riak-pb
- rlp
-
rml
< "1.09.06"
-
root1d
< "0.5"
- rotor
- rresult
- Snowflake
- safa
-
safepass
< "3.0"
-
sail
< "0.15"
-
salsa20
< "1.0.0"
-
salsa20-core
< "1.0.0"
- sattools
- scid
-
secp256k1
< "0.2.5"
-
semver
< "0.2.1"
- sendmsg
- sequence
-
session
< "0.4.0"
- sessions
- setr
-
sgf
< "1.0.1"
- shcaml
- sid
- simple-diff
- simple_pam
-
smart-print
< "0.3.0"
- smtp
-
snappy
< "0.1.2"
- socketcan
- sodium
- sosa
-
spelll
< "0.3"
- spreadsheet
-
sqlgg
< "20200521"
-
sqlite3
< "4.2.0"
- starterkit
- statmemprof-emacs
- statverif
-
stdint
< "0.5.1"
- stemming
-
stringext
< "1.5.0"
-
sturgeon
< "0.4.2"
- symkat
-
syndic
!= "1.5" & < "1.6.0"
-
syslog-message
= "0.0.2"
-
systemverilog
< "0.0.2"
-
TCSLib
< "0.5"
- tallgeese
- tdk
-
terminal_size
< "0.1.4"
- text
-
textwrap
< "0.2.1"
- tgls
-
tip-parser
< "0.4"
-
tls
< "0.12.8"
- topkg
- topkg-care
-
touist
< "3.5.0"
- tplib
- tptp
-
tree_layout
< "0.2"
- tsdl
- ttweetnacl
- type_conv
-
typerep
< "v0.12.0"
-
tyre
< "0.4"
-
tyxml
= "4.2.0"
- uchar
-
uint
< "2.0.1"
- ulex
- ulex-camlp5
- unix-dirent
-
unix-errno
< "0.6.0"
- unix-sys-resource
- unix-sys-stat
- unix-time
- unix-type-representations
- unix-unistd
- usb
- user-setup
- uucd
- uucp
- uuidm
- uunf
- uuseg
- uutf
-
variantslib
< "v0.12.0"
-
vector3
< "1.0.0"
- vg
- vhdlib
-
visitors
< "20200207"
- volt
-
wamp
< "1.2"
-
wasm
< "2.0.2"
- webbrowser
- webidl
-
webmachine
< "0.5.0"
-
win-error
< "0.3"
-
win-eventlog
< "0.2"
- wiringpi
- xmlm
- xxhash
- yajl
- yices2_bindings
-
yurt
< "0.6"
- zbar
- zipc
-
zlist
< "0.4.0"
-
zmq
< "5.0.0"
-
zstd
< "0.3"
-
zxcvbn
< "2.3+2"
Conflicts (2)
-
ocamlfind
< "1.6.2"
- base-ocamlbuild