From https://docs.nvidia.com/drive/drive_os_5.1.6.1L...
| Statistic | X | Y | Z | |--------------------------------------------------------------------------------------------------------------------------------------------------
# /etc/zsh/zshenv: system-wide .zshenv file for zsh(1). | |
# | |
# This file is sourced on all invocations of the shell. | |
# If the -f flag is present or if the NO_RCS option is | |
# set within this file, all other initialization files | |
# are skipped. | |
# | |
# This file should contain commands to set the command | |
# search path, plus other important environment variables. | |
# This file should not contain commands that produce |
From https://docs.nvidia.com/drive/drive_os_5.1.6.1L...
| Statistic | X | Y | Z | |--------------------------------------------------------------------------------------------------------------------------------------------------
# name of the binary to create | |
PROJECT_NAME := | |
IS_STATIC_LIB := true # only used if project is a library (false: dynamic library) | |
# compiling options and settings | |
CEXT := cpp | |
CXX := gcc | |
CXXSTD := c++20 | |
CXXFLAGS := -W -Wall -Wextra -pedantic -std=$(CXXSTD) | |
LDFLAGS := -L@/usr/lib -lstdc++ -lfmt |
#!/usr/bin/env bash | |
set -e | |
if [[ $(/usr/bin/id -u) -ne 0 ]]; then | |
printf "[error] not running as root\n" | |
exit 1 | |
fi | |
# find this file's path |