diff --git a/bazel-google/Makefile b/bazel-google/Makefile index c30deb4..0ec9558 100644 --- a/bazel-google/Makefile +++ b/bazel-google/Makefile @@ -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 diff --git a/bazel-google/postinst b/bazel-google/postinst index 0173b0b..7ab130a 100755 --- a/bazel-google/postinst +++ b/bazel-google/postinst @@ -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 diff --git a/tensorflow/Makefile b/tensorflow/Makefile index e96bfb8..f4ce787 100644 --- a/tensorflow/Makefile +++ b/tensorflow/Makefile @@ -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