more attempts

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2023-01-29 03:27:05 -06:00
parent a51d16ae60
commit 823ef65c52
3 changed files with 8 additions and 25 deletions

View File

@ -42,15 +42,3 @@ build:
mv DEBIAN ../files/
cd .. && dpkg-deb --build files ${BASENAME}_${VERSION}_amd64.deb
cd .. && dpkg-deb --info ${BASENAME}_${VERSION}_amd64.deb
# how to make a debian package "raw" just using tar and ar
#
# READ THIS AGAIN:
#
# A .deb file is just output from 'ar rcs'
#
tar-ar: control
cd DEBIAN && tar --ignore-failed-read -cvJf ../control.tar.xz .
cd files && tar -cvJf ../data.tar.xz .
ar rcs ${BASENAME}_${VERSION}_amd64.deb debian-binary control.tar.xz data.tar.xz
dpkg-deb --info ${BASENAME}_${VERSION}_amd64.deb

View File

@ -1,11 +1,7 @@
#!/bin/sh -x
#!/bin/sh
apt update
set +x
echo
echo Installing the default version of bazel needed for tensorflow
echo To install the default version of bazel needed for tensorflow:
echo
echo Run: apt install bazel-5.3.0
echo
set -x
apt install bazel-5.3.0

View File

@ -10,12 +10,11 @@ help:
all: download clean extract DEBIAN build
# uses 'ar' to make a .deb file
raw: download clean extract DEBIAN tar-ar
build-deb:
apt install -y gcc g++ git gnupg make zip unzip
pip install tensorflow
# apt install -y gcc g++ git gnupg make zip unzip
# pip install tensorflow
# this actually seems to work:
pip install tf-nightly-cpu
build:
apt install python3-dev python3-pip