-
Notifications
You must be signed in to change notification settings - Fork 109
Expand file tree
/
Copy pathmake.txt
More file actions
51 lines (35 loc) · 1.34 KB
/
make.txt
File metadata and controls
51 lines (35 loc) · 1.34 KB
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
how to build/test j32/64/j64nonavx for linux/darwin/raspberry/...
$jplatform (set by jvars.sh) determines compiler/link flags
$jplatform is a simple name that implies OS and hardware
linux implies intel
darwin implies intel
raspberry implies linux/arm
NOTE: This uses clang/llvm. If on Debian you'll also need libedit-dev (libedit-devel on Fedora)
**************************************************************************
# commands are assumed to run in ~ and depend on jvars.sh
# make sure shell scripts are executable
chmod +x git/jsource/make/*.sh
# copy jvars.sh to ~ (for finding things)
cp git/jsource/make/jvars.sh .
cat jvars.sh
# read jvars.sh and edit as appropriate - other steps depend on jvars.sh
# create clean build folders and build all binaries
. jvars.sh
$jmake/build_all.sh
# create clean build folders
. jvars.sh
$jmake/install.sh
# copy changes to git jlibrary to jbld folders
$jmake/copy_jlibrary.sh
# ensure proper jsrc/jversion.h (jversion-x.h template)
# !!! makefiles do not have h file dependencies !!!
# after h file changes, run clean.sh to rm all *.o fles for clean build
$jmake/clean.sh
# build j64 binaries
$jmake/build_jconsole.sh j64
$jmake/build_libj.sh j64
$jmake/build_tsdll.sh j64
# test j64 ($j64nonavx or $j32)
$j64
RUN ddall
# build/test j32 j64nonavx binaries the same way (j32 or j64nonavx)