summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Gauduin2020-04-22 17:44:38 +0200
committerMaxime Gauduin2020-04-22 17:44:38 +0200
commit4a422891382fcb32c466dd530db100d69f986dce (patch)
treebb52dcb1a299a5accc4ddfc0885ec2cdebcdd381
parent9dd9f23860c4a1ac00b0140aa14c748a01d58d17 (diff)
downloadaur-4a422891382fcb32c466dd530db100d69f986dce.tar.gz
sleep for 60 seconds to allow cuda to be detected
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD7
-rw-r--r--foldingathome-nvidia.service1
-rw-r--r--foldingathome.service1
4 files changed, 7 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7183f01c903..770749ee33e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = foldingathome
pkgdesc = A distributed computing project for simulating protein dynamics
pkgver = 7.6.9
- pkgrel = 7
+ pkgrel = 8
url = https://foldingathome.org/
install = foldingathome.install
arch = x86_64
@@ -9,7 +9,6 @@ pkgbase = foldingathome
depends = gcc-libs
depends = glibc
depends = zlib
- optdepends = clinfo: for folding with an NVIDIA GPU
optdepends = cuda: for folding with an NVIDIA GPU
optdepends = ocl-icd: for folding with any GPU
optdepends = opencl-amd: for folding with an AMD GPU (>= GCN)
@@ -21,8 +20,8 @@ pkgbase = foldingathome
source = foldingathome-nvidia.service
source = foldingathome-user.service
sha256sums = b580a8076f3147bacb9d1599e1b1765956a8e37b8a79bd961ffe2e3adc7df110
- sha256sums = 392c70c7127917a574e78144996fb3ac116ba99af3d9dc0661f33b6c9ed170c5
- sha256sums = f0eec0c8f6a278f53a5537446c996b7d97431706d54f0a7e1adce53478b39e70
+ sha256sums = c2494427610fb714de4e029bd9183d11dbc7161cf193403dc462caeea1452294
+ sha256sums = bc974d81f2eaf05bdd63ed4e449282dc9257536ab42b7eeae41853ae8521d6fc
sha256sums = 41997239dc363570e2ca5bec0eca8c7d88aada6ace0bb5793bf3ec6d101f40bb
pkgname = foldingathome
diff --git a/PKGBUILD b/PKGBUILD
index 05c19727194..6738c5a4855 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=foldingathome
pkgver=7.6.9
-pkgrel=7
+pkgrel=8
pkgdesc='A distributed computing project for simulating protein dynamics'
arch=(x86_64)
url=https://foldingathome.org/
@@ -16,7 +16,6 @@ depends=(
zlib
)
optdepends=(
- 'clinfo: for folding with an NVIDIA GPU'
'cuda: for folding with an NVIDIA GPU'
'ocl-icd: for folding with any GPU'
'opencl-amd: for folding with an AMD GPU (>= GCN)'
@@ -32,8 +31,8 @@ source=(
foldingathome-user.service
)
sha256sums=('b580a8076f3147bacb9d1599e1b1765956a8e37b8a79bd961ffe2e3adc7df110'
- '392c70c7127917a574e78144996fb3ac116ba99af3d9dc0661f33b6c9ed170c5'
- 'f0eec0c8f6a278f53a5537446c996b7d97431706d54f0a7e1adce53478b39e70'
+ 'c2494427610fb714de4e029bd9183d11dbc7161cf193403dc462caeea1452294'
+ 'bc974d81f2eaf05bdd63ed4e449282dc9257536ab42b7eeae41853ae8521d6fc'
'41997239dc363570e2ca5bec0eca8c7d88aada6ace0bb5793bf3ec6d101f40bb')
package() {
diff --git a/foldingathome-nvidia.service b/foldingathome-nvidia.service
index 7f7e5a5745d..be82b1418d9 100644
--- a/foldingathome-nvidia.service
+++ b/foldingathome-nvidia.service
@@ -6,7 +6,6 @@ After=multi-user.target
Type=oneshot
ExecStart=/usr/bin/nvidia-modprobe
ExecStart=/usr/bin/nvidia-modprobe -c 0 -u
-ExecStart=/usr/bin/clinfo
[Install]
WantedBy=multi-user.target
diff --git a/foldingathome.service b/foldingathome.service
index dad771c7879..3f57ff37fd3 100644
--- a/foldingathome.service
+++ b/foldingathome.service
@@ -15,6 +15,7 @@ StateDirectory=fah
WorkingDirectory=/var/lib/fah
ReadWritePaths=/dev/dri
ExecStartPre=!/usr/bin/chown -R fah:fah /etc/foldingathome
+ExecStartPre=/usr/bin/sleep 60
ExecStart=/usr/bin/FAHClient --config /etc/foldingathome/config.xml \
--log /var/log/foldingathome/log.txt \
--log-rotate-dir /var/log/foldingathome