Package Details: omake 0.10.3-1

Git Clone URL: https://aur.archlinux.org/omake.git (read-only, click to copy)
Package Base: omake
Description: A build system designed for scalability and portability
Upstream URL: http://omake.metaprl.org/index.html
Licenses: GPL2
Submitter: None
Maintainer: oriba
Last Packager: oriba
Votes: 23
Popularity: 0.000000
First Submitted: 2008-04-02 01:27
Last Updated: 2020-05-29 23:52

Dependencies (1)

Required by (4)

Sources (1)

Latest Comments

1 2 Next › Last »

hpmachining commented on 2020-05-29 22:08

Here is an updated PKGBUILD that builds 0.10.3

# Maintainer: oliver at first.in-berlin.de
# Former Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Mildred <silkensedai@online.fr>
# Contributor: hpmachining <aur at hpminc dot com>

pkgname=omake
pkgver=0.10.3
pkgrel=1
pkgdesc="A build system designed for scalability and portability"
arch=('x86_64')
url="http://omake.metaprl.org/index.html"
license=('GPL2')
makedepends=('ocaml')
source=(http://download.camlcity.org/download/omake-$pkgver.tar.gz)
sha256sums=('ff3107e9459615ea6526309c533b04815eef60692a20dcd3a6169f5860786d1d')

build() {
  cd "$pkgname-$pkgver"
  ./configure -prefix=/usr
  make all
}

package() {
  cd "$pkgname-$pkgver"
  make INSTALL_ROOT="$pkgdir" install
}

oriba commented on 2020-05-23 21:10

@nojb: if you want to pick up the package, let me know. The I orphan it.

nojb commented on 2016-12-02 09:50

omake does not compile with 4.04.0 (but omake-git does).

nojb commented on 2016-12-02 09:49

omake has a new mantainer, Gerd Stolpmann, and a new webpage:

http://projects.camlcity.org/projects/omake.html

suracuto commented on 2015-01-11 13:05

I couldn't compile omake with ocaml 4.02.1-1, so I made change in disable-warnings.patch:

https://gist.github.com/suracuto/5453d457c78ea58ab9a3

suracuto commented on 2015-01-11 12:59

I couldn't compile omake with ocaml 4.02.1.

*** omake: finished reading OMakefiles (0.20 sec)
- build src/env omake_env.cmx
+ ocamlopt.opt -warn-error A -w Aer-3-29-32..35-37..39-41-44z -I . -I ../libmojave -I ../util -I ../exec -I ../magic -I ../ast -I ../ir -c omake_env.ml
File "omake_env.ml", line 1995, characters 28-52:
Warning 48: implicit elimination of optional argument ?force
File "omake_env.ml", line 1997, characters 28-52:================================================================================================= ] 01109 / 01203
Warning 48: implicit elimination of optional arguments ?force, ?follow_symlinks
File "omake_env.ml", line 1999, characters 28-55:
Warning 48: implicit elimination of optional arguments ?force, ?follow_symlinks
File "omake_env.ml", line 1:
Error: Some fatal warnings were triggered (3 occurrences)
*** omake: 1109/1203 targets are up to date
*** omake: failed (2.38 sec, 0/234 scans, 1/415 rules, 360/1665 digests)
*** omake: targets were not rebuilt because of errors:
src/env/omake_env.cmx
depends on: src/env/omake_env.ml
src/env/omake_env.o
depends on: src/env/omake_env.ml
Makefile:31: recipe for target 'all' failed
make: *** [all] Error 2


So I made change in disable-warnings.patch.

--- OMakefile.orig 2010-10-27 09:42:37.000000000 +0900
+++ OMakefile 2013-12-14 02:40:56.694296965 +0900
@@ -57,7 +57,7 @@
#
# OCaml options
#
-OCAMLFLAGS[] += -w Ae$(if $(OCAML_ACCEPTS_Z_WARNING), z)
+OCAMLFLAGS[] += -w Aer-3-29-32..35-37..39-41-44-48$(if $(OCAML_ACCEPTS_Z_WARNING), z)
if $(THREADS_ENABLED)
OCAMLFLAGS += -thread
export

oriba commented on 2014-02-20 01:30

Hello, picked up the package.
It can be created and used, so I hope it's ok as it is.
Please drop me a note, if it needs to be enhanced.

oriba commented on 2014-02-20 01:08

hmhh, the omake-hompage is weird: 0.99 is older than 0.9.8.6 ?!
http://omake.metaprl.org/index.html

tomoki commented on 2013-11-04 22:24

I made change in disable-warnings.patch.
Please use this if you use ocaml 4.01.0.
---------------------------------------------------------------------------------
--- OMakefile.orig 2010-10-27 09:42:37.000000000 +0900
+++ OMakefile 2011-06-07 02:52:21.244832088 +0900
@@ -57,7 +57,7 @@
#
# OCaml options
#
-OCAMLFLAGS[] += -w Ae$(if $(OCAML_ACCEPTS_Z_WARNING), z)
+OCAMLFLAGS[] += -w Aer-3-29-32..35-37..39-41-44$(if $(OCAML_ACCEPTS_Z_WARNING), z)
if $(THREADS_ENABLED)
OCAMLFLAGS += -thread
export

tomoki commented on 2013-11-03 18:33

Now I can't compile omake with ocaml 4.01.0.

--------------------------------
** omake: finished reading OMakefiles (1.12 sec)
- build src/libmojave lm_list_util.o
+ ocamlopt.opt -warn-error A -w Aer-29-32..35-37..39z -I . -c lm_list_util.ml
File "lm_list_util.ml", line 579, characters 19-21:
Warning 3: deprecated feature: operator (or); you should use (||) instead
File "lm_list_util.ml", line 766, characters 18-19: ] 00599 / 01203
Warning 3: deprecated feature: operator (&); you should use (&&) instead
File "lm_list_util.ml", line 816, characters 32-33:
Warning 3: deprecated feature: operator (&); you should use (&&) instead
File "lm_list_util.ml", line 825, characters 14-16:
Warning 3: deprecated feature: operator (or); you should use (||) instead
File "lm_list_util.ml", line 1:
Error: Some fatal warnings were triggered (4 occurrences)
*** omake: 600/1203 targets are up to date
*** omake: failed (11.43 sec, 148/148 scans, 78/88 rules, 287/1307 digests)
*** omake: targets were not rebuilt because of errors:
src/libmojave/lm_list_util.cmx
src/libmojave/lm_list_util.o
Makefile:31: recipe for target 'all' failed
make: *** [all] Error 2
--------------------------------
I think, it is because (or) and (&) are obsolute now and that warnings abort the build.
"disable-warnings.patch" doesn't work for this warning.