Files
@ 22c1b5c60a64
Branch filter:
Location: light9/makefile - annotation
22c1b5c60a64
2.4 KiB
text/x-makefile
turn on udmx output of collector
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | 03125dac50a2 9816e249ce2e 45975e8f16f0 45975e8f16f0 45975e8f16f0 45975e8f16f0 03125dac50a2 5154f5a23e85 5154f5a23e85 5154f5a23e85 5154f5a23e85 5154f5a23e85 13d1fc32125b 13d1fc32125b 5154f5a23e85 5154f5a23e85 13d1fc32125b 5154f5a23e85 5154f5a23e85 13d1fc32125b 5154f5a23e85 5154f5a23e85 5154f5a23e85 13d1fc32125b 5154f5a23e85 5154f5a23e85 5154f5a23e85 5154f5a23e85 83f9fbc0a003 5154f5a23e85 5154f5a23e85 6e1b06199cff 03125dac50a2 5154f5a23e85 5154f5a23e85 5154f5a23e85 5154f5a23e85 5154f5a23e85 5154f5a23e85 5154f5a23e85 5154f5a23e85 5154f5a23e85 5154f5a23e85 5154f5a23e85 5e76c8fd8a03 5154f5a23e85 2088c500415e d41530a84d4b 9be85c08a69f 9be85c08a69f 9be85c08a69f d41530a84d4b d41530a84d4b 2088c500415e d41530a84d4b d41530a84d4b f8a5f579547a 5154f5a23e85 a362b892cb43 5154f5a23e85 5154f5a23e85 a362b892cb43 f8a5f579547a a362b892cb43 f8a5f579547a a36928f7cc35 d8bac44781d4 d8bac44781d4 d8bac44781d4 d8bac44781d4 d8bac44781d4 d8bac44781d4 03125dac50a2 03125dac50a2 dc742d72f8cb dc742d72f8cb dc742d72f8cb 8a8f633e8ccb 8a8f633e8ccb 8a8f633e8ccb 8a8f633e8ccb 4b331ac7784f 4b331ac7784f 4b331ac7784f c921e1cae0af c921e1cae0af c921e1cae0af 03125dac50a2 03125dac50a2 03125dac50a2 eeadad4a998e 55e41b61b472 eeadad4a998e 1f877950ad28 1f877950ad28 55e41b61b472 eeadad4a998e 499ef7c133eb 03125dac50a2 beb0688cbfd8 beb0688cbfd8 beb0688cbfd8 beb0688cbfd8 beb0688cbfd8 beb0688cbfd8 beb0688cbfd8 15a13eba6fc3 03125dac50a2 03125dac50a2 aecbcddccfea aecbcddccfea 03125dac50a2 aecbcddccfea 1aaa449e89d0 03125dac50a2 03125dac50a2 8ebf79d6b957 66a55cb17cbf 66a55cb17cbf 66a55cb17cbf 66a55cb17cbf | ### setup ###
performance_mode:
for x ( /sys/devices/system/cpu/cpufreq/policy*/scaling_governor) { echo performance | sudo tee $x }
packages:
sudo aptitude install -y \
audacity \
coffeescript \
curl \
git \
libblas-dev \
libcairo2-dev \
libffi-dev \
libjpeg8-dev \
liblapack-dev \
libssl-dev \
libzmq3-dev \
mercurial \
nginx-core \
nginx-full \
normalize-audio \
python3-cairo-dev \
python3-dev \
python3-opencv \
python3-pygame \
python3-tk \
sox \
tix \
zlib1g-dev
gst_packages:
sudo aptitude install -y \
gir1.2-goocanvas-2.0 \
gir1.2-gst-plugins-base-1.0 \
gir1.2-gstreamer-1.0 \
gstreamer1.0-plugins-good \
gstreamer1.0-pulseaudio \
gstreamer1.0-tools \
libgirepository-1.0-1 \
libgirepository1.0-dev \
python3-gi \
python3-gst-1.0
pnpm:
sudo npm install -g pnpm@8.12.0
bin/node:
ln -sf `which nodejs` bin/node
pdm_local_install:
# drew has ~/bin in $PATH
pip install "pdm==2.12.4"
ln -s ../.local/bin/pdm ~/bin
js:
pnpm install --reporter append-only
py:
pdm sync
setup: packages gst_packages pnpm js py
deps: js py
push_github:
hg bookmark -r default main && hg push git+ssh://git@github.com/drewp/light9.git
pull_github:
hg pull git+ssh://git@github.com/drewp/light9.git
### show ###
qlc_artnet_dmx_proxy:
qlcplus --open cur/qlc.qxw
no_screen_blanking:
xset s off
xset -dpms
pulseaudio_loopback_device:
pactl load-module module-loopback
show_data_checkpoint:
hg add ${LIGHT9_SHOW}
hg com ${LIGHT9_SHOW} -m "checkpoint show data"
### pi setup ###
raspberry_pi_packages:
sudo apt-get install python3-picamera python3-dev python3-twisted python3-virtualenv
raspberry_pi_virtualenv:
mkdir -p env_pi
virtualenv -p /usr/bin/python3 --system-site-packages env_pi
env_pi/bin/pip install cyclone 'coloredlogs==6.0'
### arduino build ###
/usr/share/arduino/Arduino.mk:
sudo aptitude install arduino-mk
arduino_upload: /usr/share/arduino/Arduino.mk
cd rgbled
make upload
### testing ###
pytest:
pdm run pytest
pytest_watch:
pdm run pytest-watch
test_js:
pnpm exec vitest
profile_seq:
echo in lib, get https://github.com/uber/pyflame.git and https://github.com/brendangregg/FlameGraph.git
sudo lib/pyflame/src/pyflame -s 10 -p `pgrep -f effectsequencer` | perl -lpe 's,/home/drewp/projects-local/light9/,,g; s,env/local/lib/python2.7/site-packages/,,g;' | lib/FlameGraph/flamegraph.pl --width 2500 > /tmp/fl.svg
|