Commit graph

26 commits

Author SHA1 Message Date
tnn
71fbc29207 mk/ocaml.mk: don't assume MAKE_JOBS is defined 2019-07-26 09:59:27 +00:00
jaapb
2752687fd0 Changes to mk/ocaml.mk, commentary and bugfix
Install bytecode files unstripped.
2019-07-15 09:36:26 +00:00
jaapb
ac1b8e04e3 Synced if statement in mk/ocaml.mk with that in lang/ocaml/Makefile 2019-05-14 15:35:19 +00:00
jaapb
d04cfea806 Added variable OCAML_TOPKG_FLAGS 2019-03-05 16:14:35 +00:00
jaapb
a494539fca Updated mk/ocaml.mk to add support for dune 2018-11-27 15:03:28 +00:00
jaapb
e5090fa968 mk/ocaml.mk now handles ulimit commands properly 2018-07-11 09:18:28 +00:00
jaapb
48b7bc7ff6 Updated ocaml.mk to work with opaline 0.3.1. 2018-05-31 11:22:46 +00:00
jaapb
19c74901a0 Updated OPAM to use opaline instead of opam-installer 2018-04-07 10:35:01 +00:00
jaapb
c13eafcd7e Modified file so that opam automatically uses findlib 2017-10-17 09:42:52 +00:00
jaapb
2a1c37e0c9 Moved jbuilder detection forward so it deals with opam properly 2017-09-08 22:18:46 +00:00
jaapb
4dc5b9d626 jbuilder not always uses opam, it's just the default 2017-09-08 19:09:26 +00:00
jaapb
daaeaf91f5 Added variable to have ocaml-jbuilder only build certain packages 2017-09-08 08:39:06 +00:00
jaapb
bf2226dec6 Changed ocaml.mk to allow for multiple opam .install files 2017-07-26 09:41:31 +00:00
jaapb
cc10614657 Adding jbuilder support to ocaml.mk 2017-07-23 12:20:46 +00:00
jaapb
59596d1de7 Changes in OCaml support:
- added support for TOPKG
- installation through OPAM install files now possible
- oasis support improved
2017-07-11 09:54:21 +00:00
jaapb
d702b2a2bc Corrected an inaccurate comment. No actual changes in behaviour. 2016-12-30 11:45:28 +00:00
jaapb
c18ee77937 Added variables to package variables 2016-06-20 19:44:04 +00:00
jaapb
5b9387d7eb Two fixes to the ocaml-findlib-register pkginstall fragment:
- set a sensible default for OCAML_FINDLIB_DIRS (and factorise out
  OCAML_SITELIBDIR)
- make it possible not to register any directory by setting
  OCAML_FINDLIB_REGISTER to no
2016-06-17 08:53:42 +00:00
jaapb
365da8a4e1 Setting OCAML_USE_OASIS now automatically adds ocamlbuild as a build
dependency
2016-05-06 14:13:23 +00:00
jaapb
e712e0e4d8 Added a pkginstall fragment that takes over from ocaml-findlib-register (a
script included in the ocaml-findlib package) and removes the need to call
said script explicitly from PLIST.

Packages that use findlib will now automatically add directories that are
in OCAML_FINDLIB_DIRS (set by default to $(OCAML_SITELIBDIR)/${PKGBASE})
to the file ${PREFIX}/lib/ocaml/ld.conf. This behaviour can be disabled by
undefining OCAML_FINDLIB_REGISTER.
2016-04-12 15:52:29 +00:00
jaapb
acc9ee8227 Added OCAML_USE_OASIS_DYNRUN option 2016-03-04 15:19:42 +00:00
jaapb
339d229d93 Removed the automatic setting of PKGNAME to ocaml-${DISTNAME} from
ocaml.mk. It was becoming more trouble than it was worth: only a minority
of packages used it, and it only made Makefiles more confusing.
(I've left out some packages: these will be updated forthwith)
2016-02-06 12:06:07 +00:00
hiramatsu
d5748f49ad Add PRINT_PLIST_AWK code to put ${OCAML_SITELIB} into generated PLIST.
OK'ed by jaapb@ in private mail.
2015-04-20 02:36:05 +00:00
jaapb
a74ea17a92 Added OCAML_SITELIBDIR to MAKE_ENV 2014-10-27 11:58:36 +00:00
jaapb
d5eb652594 Changes:
- findlib no longer standard
- added OASIS_BUILD_ARGS parameter
- force native code compilation (or not) according to options
- moved things around so that OASIS implies FINDLIB
2014-10-09 19:37:21 +00:00
jaapb
3d81bdac6c File to centralise common definitions for OCaml packages. Not yet used at
the moment, but I will start slowly converting packages.
2014-08-17 09:25:23 +00:00