Reset valgrind version and other minor cleanup

This commit is contained in:
Brendan Hansknecht 2020-10-27 22:05:46 -07:00
parent e4497678df
commit 6988cae9a8
3 changed files with 2 additions and 15 deletions

View file

@ -10,9 +10,6 @@ jobs:
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Output CPU info
run: sudo cat /proc/cpuinfo
- name: Install CI Libraries - name: Install CI Libraries
run: sudo ./ci/install-ci-libraries.sh 10 run: sudo ./ci/install-ci-libraries.sh 10

View file

@ -59,13 +59,4 @@ esac
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
add-apt-repository "${REPO_NAME}" add-apt-repository "${REPO_NAME}"
apt-get update apt-get update
apt-get install -y clang-$LLVM_VERSION lldb-$LLVM_VERSION lld-$LLVM_VERSION clangd-$LLVM_VERSION libc++abi-dev libunwind-dev libc6-dbg apt-get install -y clang-$LLVM_VERSION lldb-$LLVM_VERSION lld-$LLVM_VERSION clangd-$LLVM_VERSION libc++abi-dev libunwind-dev valgrind
wget https://sourceware.org/pub/valgrind/valgrind-3.16.1.tar.bz2
tar -xf valgrind-3.16.1.tar.bz2
cd valgrind-3.16.1
./autogen.sh
./configure
make -j`nproc`
sudo make install
cd ..

View file

@ -68,8 +68,7 @@ pub fn target_machine(
Target::from_name(arch).unwrap().create_target_machine( Target::from_name(arch).unwrap().create_target_machine(
&TargetTriple::create(target_triple_str(target)), &TargetTriple::create(target_triple_str(target)),
arch, arch,
// TODO: this probably should be TargetMachine::get_host_cpu_features() to enable all features. "", // TODO: this probably should be TargetMachine::get_host_cpu_features() to enable all features.
"",
opt, opt,
reloc, reloc,
model, model,