aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-06-08 12:40:03 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-06-08 12:40:35 +0700
commit812088ba56c005366b59b0a270394bc8e3bfa4a6 (patch)
tree03613dffd9e37d1b1a6e9aa833f08fa162ac9fae
parent9ca1a43fa98e03ec982a7f3a17c4d8733b0ba999 (diff)
libraries/pytorch: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/pytorch/pytorch.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/pytorch/pytorch.SlackBuild b/libraries/pytorch/pytorch.SlackBuild
index d44919ffa282..4e39d77ef40e 100644
--- a/libraries/pytorch/pytorch.SlackBuild
+++ b/libraries/pytorch/pytorch.SlackBuild
@@ -110,9 +110,10 @@ cd build
-DCMAKE_BUILD_TYPE=Release ..
"${NINJA:=ninja}"
DESTDIR=tmpxxx $NINJA install/strip
-
+
mkdir -p $PKG/usr/{share,lib$LIBDIRSUFFIX}
mv tmpxxx/usr/bin $PKG/usr
+ mv tmpxxx/usr/include $PKG/usr
mv tmpxxx/usr/share/cmake $PKG/usr/share
mv tmpxxx/usr/lib$LIBDIRSUFFIX/*.so $PKG/usr/lib$LIBDIRSUFFIX
cd ..