Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #description=This script updates Beignet Driver to support last Intel GPUs for Plex Container
- #Change the Name after "docker exec" to your containers Name in the whole script!
- docker exec plex_5_cores bash -c "apt update && apt -y install cmake pkg-config python ocl-icd-dev libegl1-mesa-dev ocl-icd-opencl-dev libdrm-dev libxfixes-dev libxext-dev llvm-7-dev clang-7 libclang-7-dev libtinfo-dev libedit-dev zlib1g-dev build-essential git clinfo"
- docker exec plex_5_cores git clone --branch comet-lake https://github.com/rcombs/beignet.git
- docker exec plex_5_cores bash -c "mkdir /beignet/build/ && cd /beignet/build && cmake -DLLVM_INSTALL_DIR=/usr/lib/llvm-7/bin .. && make -j8 && make install"
- docker exec plex_5_cores rm -rf beignet
- docker exec plex_5_cores bash -c "apt -y remove cmake pkg-config python ocl-icd-dev libegl1-mesa-dev ocl-icd-opencl-dev libdrm-dev libxfixes-dev libxext-dev llvm-7-dev clang-7 libclang-7-dev libtinfo-dev libedit-dev zlib1g-dev build-essential git && apt -y autoremove"
- docker restart plex_5_cores
- docker exec plex_5_cores clinfo -l
Add Comment
Please, Sign In to add comment