- 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
|
- Print potential BuildRequires during build
|
||||||
- Package sml for camlp5
|
- Package sml for camlp5
|
||||||
- SLE_12 has still no license macro, package as doc instead
|
- 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
|
Wed Oct 9 05:48:16 UTC 2019 - ohering@suse.de
|
||||||
|
@ -314,6 +314,7 @@ ocaml setup.ml -configure \\\
|
|||||||
dune build \\\
|
dune build \\\
|
||||||
--verbose \\\
|
--verbose \\\
|
||||||
${dune_for_release} \\\
|
${dune_for_release} \\\
|
||||||
|
%%{?_smp_mflags} \\\
|
||||||
'@install' \\\
|
'@install' \\\
|
||||||
$OCAML_DUNE_BUILD_INSTALL_ARGS
|
$OCAML_DUNE_BUILD_INSTALL_ARGS
|
||||||
%%ocaml_dune_install \
|
%%ocaml_dune_install \
|
||||||
@ -329,6 +330,7 @@ ocaml setup.ml -configure \\\
|
|||||||
dune install \\\
|
dune install \\\
|
||||||
--verbose \\\
|
--verbose \\\
|
||||||
${dune_for_release} \\\
|
${dune_for_release} \\\
|
||||||
|
%%{?_smp_mflags} \\\
|
||||||
--prefix=%%{_prefix} \\\
|
--prefix=%%{_prefix} \\\
|
||||||
--libdir=$(ocamlc -where) \\\
|
--libdir=$(ocamlc -where) \\\
|
||||||
--destdir=%%{buildroot} \\\
|
--destdir=%%{buildroot} \\\
|
||||||
@ -352,6 +354,7 @@ ocaml setup.ml -configure \\\
|
|||||||
if dune runtest \\\
|
if dune runtest \\\
|
||||||
--verbose \\\
|
--verbose \\\
|
||||||
${dune_for_release} \\\
|
${dune_for_release} \\\
|
||||||
|
%%{?_smp_mflags} \\\
|
||||||
$OCAML_DUNE_RUNTEST_ARGS ; \
|
$OCAML_DUNE_RUNTEST_ARGS ; \
|
||||||
then \
|
then \
|
||||||
echo "dune runtest succeeded" ; \
|
echo "dune runtest succeeded" ; \
|
||||||
|
Loading…
Reference in New Issue
Block a user