Videos: Add "intel" init target to force driver installation #2700
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
18f1d5a6f8
commit
00ccf77cd5
61
scripts/dist/Makefile
vendored
61
scripts/dist/Makefile
vendored
|
@ -3,35 +3,48 @@
|
|||
|
||||
export PATH="/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/scripts"
|
||||
|
||||
intel-graphics: gpu
|
||||
install-intel-graphics: gpu
|
||||
install-davfs: davfs
|
||||
tensorflow-amd64-cpu: tensorflow
|
||||
tensorflow-amd64-avx: tensorflow
|
||||
tensorflow-amd64-avx2: tensorflow
|
||||
apt-cleanup: clean
|
||||
apt-upgrade: update
|
||||
update:
|
||||
/usr/bin/apt-get update
|
||||
/usr/bin/apt-get -qq dist-upgrade
|
||||
apt-get update
|
||||
apt-get -qq dist-upgrade
|
||||
apt-cleanup: clean
|
||||
clean:
|
||||
/usr/bin/apt-get -y autoremove
|
||||
/usr/bin/apt-get -y autoclean
|
||||
/bin/rm -rf /var/lib/apt/lists/*
|
||||
https:
|
||||
apt-get -y autoremove
|
||||
apt-get -y autoclean
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
https: install-https
|
||||
install-https:
|
||||
/scripts/install-https.sh
|
||||
gpu:
|
||||
mariadb: mariadb-client
|
||||
mariadb-client: install-mariadb-client
|
||||
install-mariadb-client:
|
||||
/scripts/install-mariadb.sh mariadb-client
|
||||
gpu: install-gpu
|
||||
install-gpu:
|
||||
/scripts/install-gpu.sh
|
||||
tensorflow:
|
||||
tensorflow: install-tensorflow
|
||||
tensorflow-amd64-cpu: install-tensorflow
|
||||
tensorflow-amd64-avx: install-tensorflow
|
||||
tensorflow-amd64-avx2: install-tensorflow
|
||||
install-tensorflow:
|
||||
/scripts/install-tensorflow.sh auto
|
||||
davfs:
|
||||
davfs: install-davfs
|
||||
install-davfs:
|
||||
/scripts/install-davfs.sh
|
||||
intel: update install-intel
|
||||
install-intel-graphics: intel
|
||||
intel-graphics: intel
|
||||
install-intel:
|
||||
@echo "Installing Intel Drivers..."
|
||||
apt-get -qq install intel-opencl-icd intel-media-va-driver-non-free i965-va-driver-shaders mesa-va-drivers libmfx-gen-dev va-driver-all vainfo libva-dev
|
||||
clitools: update install-clitools
|
||||
cli-tools: clitools
|
||||
nano: clitools
|
||||
clitools:
|
||||
/usr/bin/apt-get update
|
||||
@/usr/bin/apt-get -qq install zsh nano >/dev/null 2>&1 && echo "init: successfully installed zsh and nano" || echo "init: packages zsh and nano not available for installation"
|
||||
@/usr/bin/apt-get -qq install exa duf >/dev/null 2>&1 && echo "init: successfully installed exa and duf" || echo "init: packages exa and duf not available for installation"
|
||||
|
||||
.PHONY: update apt-upgrade clean apt-cleanup gpu tensorflow davfs \
|
||||
tensorflow-amd64-cpu tensorflow-amd64-avx tensorflow-amd64-avx2 \
|
||||
intel-graphics install-intel-graphics install-davfs nano clitools;
|
||||
install-clitools:
|
||||
@apt-get -qq install zsh nano >/dev/null 2>&1 && echo "init: successfully installed zsh and nano" || echo "init: packages zsh and nano not available for installation"
|
||||
@apt-get -qq install exa duf >/dev/null 2>&1 && echo "init: successfully installed exa and duf" || echo "init: packages exa and duf not available for installation"
|
||||
.PHONY: update apt-upgrade clean apt-cleanup tensorflow install-tensorflow \
|
||||
tensorflow-amd64-cpu tensorflow-amd64-avx tensorflow-amd64-avx2 \
|
||||
intel install-intel intel-graphics install-intel-graphics \
|
||||
davfs install-davfs nano clitools install-clitools \
|
||||
mariadb-client install-mariadb-client https install-https gpu install-gpu;
|
||||
|
|
Loading…
Reference in a new issue