- Use _smp_mflags instead of nproc for parallel build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=29
This commit is contained in:
parent
6acae0361b
commit
7bad2438d0
@ -12,6 +12,7 @@ Fri Nov 1 12:34:56 UTC 2019 - ohering@suse.de
|
||||
- Print potential BuildRequires during build
|
||||
- Package sml for camlp5
|
||||
- SLE_12 has still no license macro, package as doc instead
|
||||
- Use _smp_mflags instead of nproc for parallel build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 9 05:48:16 UTC 2019 - ohering@suse.de
|
||||
|
@ -314,6 +314,7 @@ ocaml setup.ml -configure \\\
|
||||
dune build \\\
|
||||
--verbose \\\
|
||||
${dune_for_release} \\\
|
||||
%%{?_smp_mflags} \\\
|
||||
'@install' \\\
|
||||
$OCAML_DUNE_BUILD_INSTALL_ARGS
|
||||
%%ocaml_dune_install \
|
||||
@ -329,6 +330,7 @@ ocaml setup.ml -configure \\\
|
||||
dune install \\\
|
||||
--verbose \\\
|
||||
${dune_for_release} \\\
|
||||
%%{?_smp_mflags} \\\
|
||||
--prefix=%%{_prefix} \\\
|
||||
--libdir=$(ocamlc -where) \\\
|
||||
--destdir=%%{buildroot} \\\
|
||||
@ -352,6 +354,7 @@ ocaml setup.ml -configure \\\
|
||||
if dune runtest \\\
|
||||
--verbose \\\
|
||||
${dune_for_release} \\\
|
||||
%%{?_smp_mflags} \\\
|
||||
$OCAML_DUNE_RUNTEST_ARGS ; \
|
||||
then \
|
||||
echo "dune runtest succeeded" ; \
|
||||
|
Loading…
Reference in New Issue
Block a user