-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.sh
More file actions
executable file
·45 lines (37 loc) · 840 Bytes
/
build.sh
File metadata and controls
executable file
·45 lines (37 loc) · 840 Bytes
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
#!/bin/bash
# Install required tools
#apt-get install git build-essential
# Clone repo
#cd ~
#git clone https://github.com/YottaDB/pip.git
# Build Message Transfer Manager
cd ~/pip/mtm_*
make
# Build External Call Utility
cd ~/pip/extcall_*/shlib
make
cd ../alerts
make
cd ../src
make
make -f version.mk
# Build SQL Library
cd ~/pip/libsql_*/src
make LINUX
make version
# Compile M interrupt
cd ~/pip/util
make -f mintrpt.mk
# Create database
cd ~/pip
export gtm_chset=UTF-8
export gtm_icu_version=55.1
export gtmgbldir=/home/pip/pip/gbls/pip.gld
export gtm_dist=/opt/yottadb/current
export gtmroutines=${gtm_dist}/utf8/libyottadbutil.so
$gtm_dist/mumps -run ^GDE < gbls/db.gde
$gtm_dist/mupip create
$gtm_dist/mupip set -journal="enable,on,before" -file gbls/pip.dat
# Import globals
cd ~/pip
$gtm_dist/mupip load gbls/globals.zwr