libixion: enable cuda if the system provides it
This commit is contained in:
parent
a1913d70b6
commit
ca8473c978
|
@ -1,5 +1,5 @@
|
|||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF33RNv6jsKk2m0KbKVwz7ad/kkK374KpNCmw3L3iMc+5fwphKd8mYZyvoQjTeA5S0+F6kKaEAlYw9LRWorykVhQo=
|
||||
SHA256 (Pkgfile) = 16ed265ab8d3fe369925edc1fd1a8800d5e7301eeb9739173915534d14504912
|
||||
RWSagIOpLGJF36Qreo62YgumFy1CgRnfIbwLVyl/e6rZvGPknryl0bYuzmLjNbniMr/0f+rSGcJIWTy+nmUFpqWeOrHeviBDtw4=
|
||||
SHA256 (Pkgfile) = 36d2e33cd2b1dbcf27a871bb3d8b0e9a036bce5ef81c4ab19685228a103334d5
|
||||
SHA256 (.footprint) = e02d20a717b770af66295393f29e6d24b495d029dd5f6ffa89daf4e041069d99
|
||||
SHA256 (libixion-0.16.1.tar.xz) = 426c643b3c346d546027c0226619abb2e59848e94470b9b5aa6365e26125089f
|
||||
|
|
|
@ -5,14 +5,17 @@
|
|||
|
||||
name=libixion
|
||||
version=0.16.1
|
||||
release=1
|
||||
release=2
|
||||
source=(https://kohei.us/files/ixion/src/$name-$version.tar.xz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
[[ -e /usr/lib/libcuda.so ]] && PKGMK_LIBIXION+=' --enable-cuda'
|
||||
|
||||
CFLAGS="-O2 -fPIC" \
|
||||
CXXFLAGS="-O2 -fPIC" \
|
||||
./configure --prefix=/usr
|
||||
./configure --prefix=/usr $PKGMK_LIBIXION
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user