Skip to content

Commit

Permalink
add x86_adapt
Browse files Browse the repository at this point in the history
  • Loading branch information
cvonelm committed Dec 11, 2024
1 parent bc6548f commit d4e880d
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install binutils-dev libiberty-dev libsensors-dev libpfm4-dev libaudit-dev libcupti-dev nvidia-cuda-toolkit nvidia-cuda-dev
sudo apt-get install binutils-dev libiberty-dev libsensors-dev libpfm4-dev libaudit-dev libcupti-dev nvidia-cuda-toolkit nvidia-cuda-dev linux-headers-generic
sudo pip install git-archive-all
wget https://github.com/radareorg/radare2/releases/download/5.9.8/radare2-dev_5.9.8_amd64.deb
wget https://github.com/radareorg/radare2/releases/download/5.9.8/radare2_5.9.8_amd64.deb
Expand All @@ -42,10 +42,19 @@ jobs:
cd otf2-${OTF2_VERSION}
./configure --prefix=/opt/otf2
make -j2 install
- name: Install x86_adapt
run: |
git clone https://github.com/tud-zih-energy/x86_adapt
cd x86_adapt
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/opt/x86_adapt
make -j 2
sudo make install
- name: Run CMake configure
env:
CXX: ${{ matrix.compiler }}
run: cmake . -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -DUSE_HW_BREAKPOINT_COMPAT=${{ matrix.hw_breakpoint }}}
run: cmake . DCMAKE_PREFIX_PATH=/opt/x86_adapt -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -DUSE_HW_BREAKPOINT_COMPAT=${{ matrix.hw_breakpoint }}}
- name: Build
run: make -j 2
- name: Create source tarball
Expand Down

0 comments on commit d4e880d

Please sign in to comment.