Questions tagged [omake]

OMake is a portable, consistent build system inspired by Make and implemented in OCaml.

OMake is a portable, consistent build system inspired by Make and implemented in OCaml.

28 questions
4
votes
1 answer

Errors installing OMake on OSX 10.10.5

I'm trying to install OMake so I can install Teyjus so I can start writing a bit of Lambda Prolog but I'm getting I'm getting a bunch of errors on OS X 10.10.5. The most current one, that I can't figure out, is: *** omake: 497/1193 targets are up to…
3
votes
2 answers

I've got hardcoded paths in my Makefile - how to use ocamlfind to eliminate those? (or how to use ocamlbuild or omake instead)

I'm trying to build an ocaml project which requires a camlp4 extension (pa_deriving in this case). Here's my Makefile: include ./Makefile.config OCAMLC := ${OCAMLFIND} ocamlc OCAMLOPT := ${OCAMLFIND} ocamlopt OCAMLDEP := ${OCAMLFIND}…
aneccodeal
  • 8,531
  • 7
  • 45
  • 74
3
votes
1 answer

Is there such thing as incremental build for OCaml?

Is there any tool that I can use to get the kind of incremental build like those from Eclipse/IntelliJ/Visual Studio?
Chris
  • 953
  • 11
  • 16
2
votes
1 answer

Error: The module List is an alias for module ListLabels, which is missing

Something is wrong with my build setup. I'm getting this error: Error: The module List is an alias for module ListLabels, which is missing In the interactive top-level ListLabels exists, but not during compilation. I tracked this error message to…
Vladimir Keleshev
  • 13,753
  • 17
  • 64
  • 93
2
votes
1 answer

(OCamlfind) build library with dependencies to Core

I'm trying to build a small library that has dependencies to Core and Core_extended. I followed the instructions under Where to place a shared utility module in OCaml? and installed the library in ocamlfind (declaring a dependency to Core_extended…
1
vote
1 answer

Is there any other way to format my %echo output in OMAKE (Instead of using cygwin printf.exe but using any localized syntax of OMAKE it self)

The below I have pasted two approaches, but the second approach does not gives good structured output like the approach 1 does. Please suggest me how to get the same good font with OMAKE internal syntaxes if any: approach…
Krishna Matsa
  • 23
  • 1
  • 6
1
vote
2 answers

clearcase dynamic view build taking long time

We are experiencing drastic increase in the build time while building code in clearcase vob whose master is in other location without winkins. Previously several months ago it used to build in 3hours but now it is taking 13 hours. We now tried to…
1
vote
0 answers

How to install omake utility in Windows

I want to install the omake utility in Windows , I am referring to this utility. Github link : https://github.com/ocaml-omake/omake In the INSTALL file it is saying ocaml installs the omake utility , but when I do ocaml build.ml -install I get…
Chetan
  • 1,141
  • 2
  • 15
  • 36
1
vote
1 answer

Omake Utility for SVN in Perl scripts

I have to make some builds for SVN using the Perl scripting, the scripts are originally for Clearcase builds. I have come across an utility "omake". Can any give example of how can I use it for subversion? The command in the script is system "omake…
1
vote
1 answer

"Permission denied" Error during calling omake in Jenkins

The situation is, the batch command file containing execution with omake.exe is located in an clearcase view. Calling this bat file from dos command window works quite fine, but if I call the same bat file from Jenkins job, I get following error…
OISS
  • 97
  • 10
1
vote
1 answer

Is there a way to convert omake build to ms build

I would like to convert omake projects (clearcase) to msbuild (TFS). Please let me know whether any tool is available for the conversion. I would appricate if you have give me an example
user523582
  • 35
  • 1
  • 2
1
vote
1 answer

How to handle build rule with unknown targets in OMake when target list generator is built

I have a project which uses OMake for its build system, and I am trying to handle a rather tough corner case. I have some definition files and a tool which can take these definition files and create GraphViz files. There are two problems,…
Michael Ekstrand
  • 28,379
  • 9
  • 61
  • 93
1
vote
2 answers

Post build testing with omake

Is there any way to add a post build command to an omakefile? I want it to automatically run unit tests everytime a build is successful, but am not sure of the best way to do this.
a_m0d
  • 12,034
  • 15
  • 57
  • 79
0
votes
0 answers

How to print a single character in a variable in omakefile

In my omakefile, I have a variable name 'CHECK' with variable value 'hello'. My question is how can I read/print only 'h'? Example: Input: CHECK = hello Output: h I know how to print entire variable $(CHECK). What I tried: Input: CHECK =…
Kamaraj
  • 63
  • 1
  • 8
0
votes
0 answers

How to take running cmd window logs inside a .bat script

echo off echo . echo . echo . start /wait cmd.exe /c omake mv=%~2 ecu_build > ecu_log.txt Please help me how to log the cmd window output the above code is not working It always creates an empty file {ecu_log.txt}
Krishna Matsa
  • 23
  • 1
  • 6
1
2