]> granicus.if.org Git - llvm/commit
Autogenerate the shebang lines for tools/opt-viewer
authorChris Bieneman <chris.bieneman@me.com>
Wed, 21 Aug 2019 01:48:28 +0000 (01:48 +0000)
committerChris Bieneman <chris.bieneman@me.com>
Wed, 21 Aug 2019 01:48:28 +0000 (01:48 +0000)
commitdd9264d345b836b3fd341bc7b1037e764c5fd0c4
tree7c717bde85e4502f88b920f9b2feacf69671bba4
parent4e6cb18b4b6335a2f17ce738b26c22470227d8dc
Autogenerate the shebang lines for tools/opt-viewer

Summary:
Since these files depend on the built python modules, they need to use
the right python binary to run them. So use configure_file
to set the right shebang line.

Patch By: cbiesinger (Christian Biesinger)

Reviewers: chandlerc, beanz, anemet

Reviewed By: anemet

Subscribers: compnerd, JDevlieghere, mgorny, llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369486 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
tools/opt-viewer/CMakeLists.txt
tools/opt-viewer/opt-diff.py.in [moved from tools/opt-viewer/opt-diff.py with 98% similarity]
tools/opt-viewer/opt-stats.py.in [moved from tools/opt-viewer/opt-stats.py with 98% similarity]
tools/opt-viewer/opt-viewer.py.in [moved from tools/opt-viewer/opt-viewer.py with 99% similarity]
tools/opt-viewer/optrecord.py.in [moved from tools/opt-viewer/optrecord.py with 99% similarity]