Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/llnl/caliper-compiler
Compiler tools for Caliper
https://github.com/llnl/caliper-compiler
compiler
Last synced: 2 days ago
JSON representation
Compiler tools for Caliper
- Host: GitHub
- URL: https://github.com/llnl/caliper-compiler
- Owner: LLNL
- License: other
- Created: 2017-05-31T16:31:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-02T18:14:47.000Z (over 7 years ago)
- Last Synced: 2024-11-11T21:37:59.508Z (2 months ago)
- Topics: compiler
- Language: C++
- Homepage:
- Size: 28.3 KB
- Stars: 2
- Watchers: 7
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Caliper Compiler Suite (alpha)
==================================This is an alpha release of a set of compiler tools that lives alongside Caliper.
Currently it is not fit for production use and is mainly here as a starting point
for other tool developers, feel free to email me at [email protected] with
questions thoughReleased under a BSD license, `LLNL-CODE-678900`.
See `LICENSE` file for details.Building
--------See the included Makefile for fuller docs, but for many
```
make LLVM_SRC_DIR=
```Will work if the Clang plugin system is installed. This will create an executable
in /build called caliper_instrumenterUsage
-------That executable, caliper_instrumenter, can be run against a file to instrument all functions in it with Caliper. Work is being done to make this accept TAU or Score-P selective instrumentation files. There is also a file, caliper_instrumenter.cmake, which allows for use in cmake build systems like so
include(caliper-instrumenter.cmake)
```
add_[executable|library](mytarget )
instrument_target(mytarget)
```Attribution
-----------------------Authors
David Poliakoff ([email protected])
David Boehme ([email protected])
This work was inspired by Eli Bendersky's repo (https://github.com/eliben/llvm-clang-samples) showing how to write basic Clang plugins and build them, I highly recommend that if you're interested in developing these kinds of tools