forked from zkutalik/ssimp_software
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhowto.txt
executable file
·33 lines (26 loc) · 1.54 KB
/
howto.txt
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
If stu is not installed, use the version in this repository. It can be built here with 'make stu/stu',
and then you can use 'stu/stu' instead of 'stu' in the rest of this document
## Version number update?
Before building the binaries, you probably want to update the version numbers. Currently, this means:
- edit the first line of [doc/usage.txt]
- edit the 'current version' entry in [README.md]
- add a new entry to the top of [VERSION], regarding the changes introduced
The [doc/usage.txt] should be updated before compilation, as it will be included in the binary
## on LINUX (e.g. HPC1)
stu bin/ssimp-static # to build the statically-linked version of the executable
cp bin/ssimp-static compiled/ssimp-linux-VERSION
git add compiled/ssimp-linux-VERSION
git rm compiled/ssimp-linux-OLDVERSION
git commit -m "statically-linked executable for LINUX"
## on a MAC (e.g. sina’s computer)
## stu/stu bin/ssimp-static # to build the statically-linked version of the executable
## >> failed, instead
Static compilation would help, but I did more investigation and it seems that static compilation will never be possible with Mac:
https://stackoverflow.com/questions/844819/how-to-static-link-on-os-x
The 'crt' library was our problem and it appears that Apple refuse to make a static version of it available
(aaron email 2017-08-25)
stu/stu bin/ssimp # to build the statically-linked version of the executable
cp bin/ssimp compiled/ssimp-osx-VERSION
git add compiled/ssimp-osx-VERSION
git rm compiled/ssimp-osx-OLDVERSION
git commit -m "executable for OSX"