Commit Graph

19 Commits

Author SHA1 Message Date
Alexey Klimkin
d743743d00 Restore custom "script" to run tests 2021-01-08 18:23:23 -08:00
Alexey Klimkin
aa29b4d881 Build outdated Conan packages 2021-01-08 17:50:13 -08:00
Alexey Klimkin
4b322891b0 Fix CXX11 ABI compatibility part 2 2021-01-08 17:33:47 -08:00
Alexey Klimkin
bd655df54f Fix C++11 ABI compatibility 2021-01-08 16:59:13 -08:00
Alexey Klimkin
b929ee2ce7 Reduce CMake requirement to v3.4 2021-01-08 16:58:29 -08:00
Alexey Klimkin
e5329ce9d5 Remove default cmake installation
It seems the default is CMake 3.12 and we need at least CMake 3.13.
2021-01-08 15:19:25 -08:00
Alexey Klimkin
ffd1cd8ff2 Set required CMake version to 3.13
Required for `target_link_options`.
2021-01-08 11:15:52 -08:00
Alexey Klimkin
0659e3ab1d Port old "check" target and update CI
Use "make test" to run the old target. Only works for Debug and
RelWithDebInfo, since coz requires debug symbols in the program under
profile.
2021-01-08 09:59:15 -08:00
Alex Crichton
2f12e6e4f3 Add a Rust implementation of coz.h
After seeing a recording of Emery's recent talk at Strange Loop I was
super impressed with `coz` and immediately wanted to try it out with
Rust code! I was curious to see if `coz` could help us out with
profiling either Cargo, Rust's build system, or perhaps the compiler
itself, `rustc`. In any case I ended up creating
https://github.com/alexcrichton/coz-rs as a repository to house an
implementation of `coz.h` for Rust so `coz` could be used to easily work
with Rust executables.

I toyed around a bit and Emery [mentioned] that this would be good
support to have upstream once it's working, and I think it's working
now! I haven't been able to get a ton of useful results myself yet, but
I'm still figuring out the best way to ask `coz` questions and the best
way to instrument programs myself.

Nonetheless I think that the Rust support here is correct in the sense
that it's a faithful translation of `coz.h`, and now it's just a problem
with me learning how best to instrument programs.

This commit adds a new `rust` directory with a crate (Rust parlance for
"library") which provides macros that allow using `coz` instrumentation
similar as you would in C, except in idiomatic Rust style. I've
published the crate on Rust's package registry, crates.io, as
[`coz`][crate], and I don't mind keeping it there or transferring it to
y'all, whichever you'd prefer! I also don't mind being on the hook for
reviewing any Rust-related changes, or if y'all need to jettison the
Rust support in the future I don't mind that either and can give it a
home!

[mentioned]: https://github.com/alexcrichton/coz-rs/issues/2
[crate]: https://crates.io/crates/coz
2019-09-25 11:07:44 -07:00
Charlie Curtsinger
46691ac521 Benchmark inputs are too large for CI testing 2019-08-18 16:39:52 -05:00
Charlie Curtsinger
baf5353ebd Run benchmarks on test inputs for CI build 2019-08-18 16:33:54 -05:00
Charlie Curtsinger
3e2f144b30 Makefile cleanup 2019-08-18 16:28:54 -05:00
Charlie Curtsinger
323b8d0c8c Explicitly pass the --install-recommends flag for apt-get 2019-08-18 13:09:16 -05:00
Charlie Curtsinger
78fe03cbb7 rst2man requires install-recommends 2019-08-18 13:02:35 -05:00
Charlie Curtsinger
c7a00ce4cd Install docutils as dependency 2019-08-18 12:54:47 -05:00
Charlie Curtsinger
079ce69961 Fix the install target for viewer directory. Small CI updates 2019-08-18 12:49:32 -05:00
Charlie Curtsinger
a16f7b66cf Missing sudo in CI config 2019-08-18 12:44:26 -05:00
Charlie Curtsinger
ba1fb59ec7 Comment CI build and specify OS version 2019-08-18 12:40:50 -05:00
Charlie Curtsinger
a1c3509ac0 Testing a Travis CI build 2019-08-18 12:37:49 -05:00