Skip to content

songlh/perfevo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

perfevo

static checkers for performance bugs

How to build llvm-2.8 and binutils-2.20.90?

  1. cd ${LLVM_ROOT}

  2. mkdir install

  3. wget ftp://sourceware.org/pub/binutils/snapshots/binutils-2.20.90.tar.bz2

  4. tar -xvjpf binutils-2.20.90.tar.bz2

  5. cd binutils-2.20.90/

  6. mkdir build

  7. cd build

  8. ../configure --prefix=${LLVM_ROOT}/install -enable-gold --enable-binutils --enable-plugins

  9. make all-gold all-binutils -j8

  10. make install-gold install-binutils

  11. cd ${LLVM_ROOT}

  12. wget http://llvm.org/releases/2.8/llvm-2.8.tgz

  13. tar xvzf llvm-2.8.tgz

  14. cd llvm-2.8/

  15. mkdir build

  16. cd build

  17. ../configure --prefix=${LLVM_ROOT}/install/ -with-binutils-include=${LLVM_ROOT}/binutils-2.20.90/include --enable-pic

  18. make ENABLE_OPTIMIZED=1 -j8

  19. make install

How to build perfevo?

  1. tar -xvf perfevo.tar

  2. cd perfevo

  3. edit ./autoconf/configure.ac

2.1. LLVM_SRC_ROOT=${LLVM_ROOT}/llvm-2.8

2.2. LLVM_OBJ_ROOT=${LLVM_ROOT}/llvm-2.8/build

  1. cd ./autoconf

  2. ./AutoRegen.sh //provide llvm directory and llvm-building directory when running this command

  3. cd ..

  4. mkdir build

  5. cd build

  6. ../configure --with-llvmsrc=${LLVM_ROOT}/llvm-2.8 --with-llvmobj=${LLVM_ROOT}/llvm-2.8/build

  7. make

About

static checkers for performance bugs in PLDI'2012

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published