a8442223dc- Handle plain ^ and + as values for directory= in findlib META files They stand for the OCaml standard library directory.Olaf Hering2022-07-08 06:55:48 +00:00
7b158bafe9- remove unused ocaml_dune_bootstrap_directory - move all invocations of dune from ocaml_dune_setup to ocaml_dune_build - process content of ocaml_standard_library only if it exists in buildrootOlaf Hering2022-04-09 19:43:24 +00:00
4b6c153b6e- Remove ocaml_native_compiler flag, assume native target This flag puts too much burden on pkgs that use ocaml, but build with their buildsystem instead of using duneOlaf Hering2021-04-21 12:50:50 +00:00
f46630aa30- Run dune installed-libraries also in ocaml_dune_testOlaf Hering2021-01-28 00:06:41 +00:00
6267059f33- Adjust parser of ocamfind() requires Take negative predicates in requires() into account, and ignore them. This is supposed to avoid dependency cycles due to excessive list of dependencies.Olaf Hering2021-01-27 19:24:48 +00:00
63ac6d61e1- Adjust injection of version into findlib META files A file VERSION is not handled anymore by dune since 1.11. Remove version: from *.opam files, inject version into dune-projectOlaf Hering2021-01-15 10:00:01 +00:00
819290d21aUse tag 'suseocaml', rename zocaml.attr to suseocaml.attr to avoid filename conflicts with rpm-build.rpm (bsc#1154874) - Rename also ocamlfind to suseocamlfindOlaf Hering2020-05-14 09:40:00 +00:00
5b8baeb9af- The filename for rpm *.attr files and the tag used within these files must match. Otherwise rpm will not execute the helper scripts. Stick with tag 'ocaml', rename zocaml.attr to ocaml.attr. (bsc#1154874) - Escape plain % charsOlaf Hering2020-05-14 09:02:05 +00:00
1487491b46- Install also COPYRIGHT.txt as license, needed for some JaneStreet pkgsOlaf Hering2020-02-24 07:21:45 +00:00
44cfad1afb- Add ocaml-ocaml.rpm.prov_req.attr.sh New script for rpm Provides/Requires, replacement for rpm built-in ocaml(NAME)=hash, which covers bytecode and interfaces Now it covers also native code via ocamlx(NAME)=HASH (bsc#1154874) - Update the filelist generator Use awk to match directories in ocamls built-in ld.conf C stublibs in default locations do not need a ld.so.conf entry Remaining ld.so.conf files for stublibs go to the devel package - Disable debug in ocamlfind() Provides/Requires generator Update META parser to handle multiline statements and ppx - Provide a ocaml_standard_library macro - Explicitly preserve debuginfo in .cmxs, already enforced by duneOlaf Hering2020-02-21 10:50:25 +00:00
9c9a6e4a1eused at runtime. Also, cmxs dependencies in main pkg are not covered by ocaml-find-requires.sh (bsc#1154874)Olaf Hering2019-11-05 09:30:50 +00:00
7bad2438d0- Use _smp_mflags instead of nproc for parallel buildOlaf Hering2019-11-03 18:06:32 +00:00
6acae0361b- SLE_12 has still no license macro, package as doc insteadOlaf Hering2019-11-01 23:56:52 +00:00
8fc5a9e55c- Moved ocaml-findlib.rpm.prov_req.attr.sh from ocaml to provide ocamlfind() in ocaml itself - Handle license separately because sed w truncates output - Document individual file extensions - Move cmxs and so files to devel packages because they are not used at runtime - Set VERSION unconditionally for each patch, sometimes dune picks it up - Pass --for-release-of-packages to dune via dune_release_pkgs= - Print potential BuildRequires during build - Package sml for camlp5Olaf Hering2019-11-01 22:56:29 +00:00
ddee46a720add missing backslash to cover *.cmx againOlaf Hering2019-09-30 14:25:24 +00:00
e7f0e71c17- Increase ulimit -s on ppc64 in dune macros Required for at least ocaml-camomile - Show external-lib-deps also for dune runtest - Provide a ocaml_create_file_list macro - Optional extra args for dune commands - Pass --verbose to dune commandsOlaf Hering2019-09-30 14:23:43 +00:00