Skip to content

Commit

Permalink
Adding xrandr and hdf5 to pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Urs Hofmann committed Jul 16, 2024
1 parent 3427d31 commit 53a2e7d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ jobs:
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get -y install libxrandr-dev libhdf5-serial-dev libxinerama-dev libxcursor-dev libxi-dev libgl1-mesa-dev
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,18 @@ Required packages:
- a capable C++ compiler which can be consumed by `CMake`
- `CUDA` for GPU acceleration (can be disabled, not required)
- `hdf5` for dataset import and export
- `libxrandr`, `libxinerama`, `libxcursor`, `libxi`, `libgl1-mesa-dev`: used for GUI framework

Package installation command ArchLinux:

```bash
pacman -S hdf5
pacman -S hdf5 libxrandr libxinerama
```

Package installation command Ubuntu:

```bash
apt-get install libhdf5-serial-dev
apt-get install libhdf5-serial-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libgl1-mesa-dev
```

Many other dependencies are directly managed through CMake based on `FetchContent`.
Expand Down

0 comments on commit 53a2e7d

Please sign in to comment.