Skip to content

Commit

Permalink
[opt-viewer] Move under tools, install it
Browse files Browse the repository at this point in the history
We weren't installing opt-viewer and co before, this fixes the omission.  I am
also moving the tools from utils/ to tools/.  I believe that this is more
appropriate since these tools have matured greatly in the past year through
contributions by multiple people (thanks!) so they are ready to become
external tools.

The tools are installed under <install>/share/opt-viewer/.

I am *not* adding the llvm- prefix.  If people feel strongly about adding
that, this is probably a good time since the new location will require some
mental adjustment anyway.

Fixes PR33521

Differential Revision: https://reviews.llvm.org/D35048

llvm-svn: 307285
  • Loading branch information
anemet committed Jul 6, 2017
1 parent c7f8953 commit 8d10129
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions llvm/tools/opt-viewer/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
set (files
"opt-diff.py"
"opt-stats.py"
"opt-viewer.py"
"optpmap.py"
"optrecord.py"
"style.css")

foreach (file ${files})
install(PROGRAMS ${file}
DESTINATION share/opt-viewer
COMPONENT opt-viewer)
endforeach (file)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8d10129

Please sign in to comment.