diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 7b01ac01..4ea5a066 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -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 @@ -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