-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildLinux.sh
61 lines (57 loc) · 1.75 KB
/
buildLinux.sh
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
echo "AGENT_WORKFOLDER is $AGENT_WORKFOLDER"
echo "AGENT_WORKFOLDER contents:"
ls -1 $AGENT_WORKFOLDER
echo "AGENT_BUILDDIRECTORY is $AGENT_BUILDDIRECTORY"
echo "AGENT_BUILDDIRECTORY contents:"
ls -1 $AGENT_BUILDDIRECTORY
echo "SYSTEM_DEFAULTWORKINGDIRECTORY is $SYSTEM_DEFAULTWORKINGDIRECTORY"
echo "SYSTEM_DEFAULTWORKINGDIRECTORY contents:"
ls -1 $SYSTEM_DEFAULTWORKINGDIRECTORY
echo "BUILD_ARTIFACTSTAGINGDIRECTORY is $BUILD_ARTIFACTSTAGINGDIRECTORY"
echo "BUILD_ARTIFACTSTAGINGDIRECTORY contents:"
ls -1 $BUILD_ARTIFACTSTAGINGDIRECTORY
sudo apt-get install libsndfile1-dev
sudo apt-get install libasound2-dev
sudo apt-get install libjack-dev
sudo apt-get install portaudio19-dev
sudo apt-get install libportmidi-dev
sudo apt-get install libpulse-dev
sudo apt-get install swig
sudo apt-get install liblua5.1-0-dev
sudo apt-get install python-dev
sudo apt-get install puredata-dev
sudo apt-get install default-jdk
sudo apt-get install libfltk1.1-dev
sudo apt-get install libfluidsynth-dev
sudo apt-get install liblo-dev
sudo apt-get install fluid
sudo apt-get install ladspa-sdk
sudo apt-get install libpng-dev
sudo apt-get install dssi-dev
sudo apt-get install libstk0-dev
sudo apt-get install libgmm++-dev
sudo apt-get install bison
sudo apt-get install flex
sudo apt-get install libportsmf-dev
sudo apt-get install libeigen3-dev
sudo apt-get install libcunit1-dev
sudo apt-get install python-tk
# # sudo apt-get install libsndfile1
git clone https://github.com/csound/csound.git
cd csound
mkdir build
cd build
cmake ..
make -j4
sudo make install
sudo ldconfig
#return to main working dir after installing Csound
cd $SYSTEM_DEFAULTWORKINGDIRECTORY
ls
mkdir build
cd build
cmake ..
make
ls
mkdir $BUILD_ARTIFACTSTAGINGDIRECTORY/Linux
cp *.so $BUILD_ARTIFACTSTAGINGDIRECTORY/Linux