Skip to content

Commit

Permalink
Added a warning for conflicting versions of Clang/LLVM.
Browse files Browse the repository at this point in the history
Changed travis script to output debug information.
  • Loading branch information
timothy-mcphie committed Jun 27, 2016
1 parent 7bd381f commit 45ff7f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ script:
- cd compiler-plugin
- ./build_plugin
- cd ../runtime
- ./tools/run_tests
- ./tools/run_tests true
6 changes: 4 additions & 2 deletions compiler-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ directory to `compiler-plugin` and run `./build_plugin`. The file
`NvmInstrumenter.so` will be created under the subdirectory
`plugin_build`.

Ensure the versions of clang and llvm developer tools (ie llvm-config) are the same.

To use clang with instrumentation, it is recommended to use an
environment variable as used in the Atlas test scripts

$ACC: clang -Xclang -load -Xclang <path_to_Atlas>/compiler-plugin/NvmInstrumenter.so
$ACXX: clang++ -Xclang -load -Xclang <path_to_Atlas>/compiler-plugin/NvmInstrumenter.so
$ACC: clang -Xclang -load -Xclang <path_to_Atlas>/compiler-plugin/plugin_build/NvmInstrumenter.so
$ACXX: clang++ -Xclang -load -Xclang <path_to_Atlas>/compiler-plugin/plugin_build/NvmInstrumenter.so

0 comments on commit 45ff7f1

Please sign in to comment.