Comments (4)
Mmmmh sorry about that. This comes at the right time since I'm working on finishing ptime_clock and was copying that build system. I tried to provide a fix could you please try to:
opam pin -kgit mtime https://github.com/dbuenzli/mtime.git
cp $(opam config var mtime:doc)/min.ml /tmp/
cd /tmp
ocamlfind ocamlc -package mtime.os -linkpkg -o min.byte min.ml
./min.byte
ocamlfind ocamlopt -package mtime.os -linkpkg -o min.native min.ml
./min.native
and confirm me that this now works (I tried on Darwin and Ubuntu 14.04 64bits).
from mtime.
On 12/22/2015 05:20 PM, Daniel Bünzli wrote:
Mmmmh sorry about that. This comes at the right time since I'm working on finishing ptime_clock and was copying that build system. I tried to provide a fix could you please try to:
|opam pin -kgit mtime https://github.com/dbuenzli/mtime.git cp $(opam config var mtime:doc)/min.ml /tmp/ cd /tmp ocamlfind ocamlc -package mtime.os -linkpkg -o min.byte min.ml ./min.byte ocamlfind ocamlopt -package mtime.os -linkpkg -o min.native min.ml ./min.native |
and confirm me that this now works (I tried on Darwin and Ubuntu 14.04 64bits).
Thanks, works on Debian Jessie.
Not sure if Linux is the only OS that needs -lrt though, but I don't have a Solaris machine to test now.
from mtime.
I'll make a release soon. Just fixing other parts of the build system (#1).
from mtime.
from mtime.
Related Issues (20)
- Add Mtime.period and raw interface
- Windows support HOT 1
- Compiling with -custom fails on ocaml_mtime_elapsed_ns HOT 7
- Major API overhaul HOT 3
- Add `Mtime.Span.zero`
- Add Mtime.Span.add
- support older versions of OCaml? HOT 7
- Add documentation on accessing Mtime_clock HOT 2
- Mtime.Span.to_uint64_s would be nice. HOT 1
- Conversion functions for timestamps HOT 5
- Consider deprecating floating point durations and add uint64 duration constants
- Cross-compilation support
- Windows compilation problem HOT 1
- mtime fails to build with 4.14.0+trunk HOT 1
- missing `@since` in documentation HOT 1
- Files test.cmx and …/opam/mtime_clock.cmxa make inconsistent assumptions over interface Mtime_clock HOT 1
- mtime.1.2.0 fails to build with 5.1.0+trunk HOT 8
- max_span = -1e-09s HOT 7
- /usr/bin/ld: cannot find -lmtime_clock_stubs HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mtime.