Last active
August 29, 2015 14:08
-
-
Save kylerbrown/2cc92c1595c3545932f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# File originally created by Dan Meliza, modified by Kyler Brown | |
apt-get -y install make scons g++ gcc git libjack-dev jackd1 \ | |
libboost-dev libboost-program-options-dev libboost-date-time-dev libboost-system-dev libboost-filesystem-dev \ | |
libsndfile1-dev libsamplerate0-dev libhdf5-dev hdf5-tools \ | |
libx11-dev x11proto-core-dev libxft-dev libzmq-dev uuid-dev | |
# set some configuration for better RT performance | |
cat > /etc/sysctl.d/40-realtime-settings.conf <<EOF | |
vm.swappiness = 10 | |
fs.inotify.max_user_watches = 524288 | |
dev.hpet.max-user-freq = 3072 | |
EOF | |
cat > /etc/udev/rules.d/40-timer-permissions.rules <<EOF | |
KERNEL=="rtc0", GROUP="audio" | |
KERNEL=="hpet", GROUP="audio" | |
EOF | |
SRC_DIR=$HOME/src | |
mkdir -p $SRC_DIR | |
# arf | |
cd $SRC_DIR | |
git clone git://github.com/dmeliza/arf.git && cd arf && sudo make install | |
# jill | |
cd $SRC_DIR | |
git clone https://github.com/margoliashlab/jill.git && cd jill && scons -Q debug=0 && sudo scons debug=0 install | |
# yass | |
cd $SRC_DIR | |
git clone git://github.com/dmeliza/yass.git && cd yass && sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment