2024-07-29 22:58:37 +02:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
VERSION="24.10"
|
|
|
|
|
|
|
|
source ./pika-build-config.sh
|
|
|
|
|
|
|
|
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
|
|
|
|
2023-02-25 08:49:22 +01:00
|
|
|
# Clone Upstream
|
2023-02-25 08:54:57 +01:00
|
|
|
cd ./pika-amdgpu-core
|
2023-02-25 08:49:22 +01:00
|
|
|
|
|
|
|
# Get build deps
|
|
|
|
apt-get build-dep ./ -y
|
|
|
|
|
|
|
|
# Build package
|
2024-07-29 22:58:37 +02:00
|
|
|
LOGNAME=root dh_make --createorig -y -l -p pika-amdgpu-core_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
2023-08-28 12:14:58 +02:00
|
|
|
dpkg-buildpackage --no-sign
|
2023-02-25 08:49:22 +01:00
|
|
|
|
|
|
|
# Move the debs to output
|
|
|
|
cd ../
|
|
|
|
mkdir -p ./output
|
2023-06-16 20:32:23 +02:00
|
|
|
mv ./*.deb ./output/
|