Re: [packages/ocaml-ctypes] - complete list of archs with opt support

2015-03-21 Thread Elan Ruusamäe

On 21.03.2015 16:49, Jakub Bogusz wrote:

On Fri, Mar 20, 2015 at 10:18:26AM +0200, Elan Ruusamäe wrote:

On 13.03.2015 23:34, qboosh wrote:

+# archs with ocaml_opt support (keep in sync with ocaml.spec)
+ExclusiveArch: %{ix86} %{x8664} arm aarch64 ppc sparc sparcv9

so, what about adding %ocaml_arches macro and using that?

Maybe. %ocaml_opt_archs (arches?) in this case.
ocaml itself supports more, this list refers to ocaml with native code
generation.


similarily there's need for %java_arches and probably %ghc_arches

+ %mono_archs




i wonder where to keep these? in rpm-build-macros?
or let each package provide itself the macro (mono-devel contains 
/etc/rpm/macros.mono for example)


--
glen

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: [packages/ocaml-ctypes] - complete list of archs with opt support

2015-03-21 Thread Jakub Bogusz
On Fri, Mar 20, 2015 at 10:18:26AM +0200, Elan Ruusamäe wrote:
 On 13.03.2015 23:34, qboosh wrote:
 +# archs with ocaml_opt support (keep in sync with ocaml.spec)
 +ExclusiveArch:  %{ix86} %{x8664} arm aarch64 ppc sparc sparcv9
 so, what about adding %ocaml_arches macro and using that?

Maybe. %ocaml_opt_archs (arches?) in this case.
ocaml itself supports more, this list refers to ocaml with native code
generation.

 similarily there's need for %java_arches and probably %ghc_arches

+ %mono_archs


-- 
Jakub Boguszhttp://qboosh.pl/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: [packages/ocaml-ctypes] - complete list of archs with opt support

2015-03-20 Thread Elan Ruusamäe

On 13.03.2015 23:34, qboosh wrote:

+# archs with ocaml_opt support (keep in sync with ocaml.spec)
+ExclusiveArch: %{ix86} %{x8664} arm aarch64 ppc sparc sparcv9

so, what about adding %ocaml_arches macro and using that?

similarily there's need for %java_arches and probably %ghc_arches


--
glen

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en