Skip to content

Instantly share code, notes, and snippets.

@jamesbeedy
Last active June 18, 2020 02:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesbeedy/33af71a7256193821b0ea3c2012a5387 to your computer and use it in GitHub Desktop.
Save jamesbeedy/33af71a7256193821b0ea3c2012a5387 to your computer and use it in GitHub Desktop.
jwt:
source: https://github.com/benmcollins/libjwt.git
plugin: cmake
source-type: git
source-depth: 1
source-branch: master
cmake-parameters:
- -DCMAKE_INSTALL_PREFIX=/usr/local
build-packages:
- libssl-dev
- libjansson-dev
nvidia:
plugin: nil
override-pull: |
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin
mv cuda-ubuntu1804.pin /etc/apt/preferences.d/cuda-repository-pin-600
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub
apt install software-properties-common -y
add-apt-repository "deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ /" -y
apt update -y
override-build: |
apt install cuda -y
override-stage: |
apt install cuda -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment