-
Notifications
You must be signed in to change notification settings - Fork 0
/
PACKAGERS
49 lines (24 loc) · 1.61 KB
/
PACKAGERS
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
The tarball as it is supplied should be suitable for creating a distribution
package without major modification.
Please contact the author for any questions, suggestions or fixes, so they can be merged upstream:
remon at traverso-daw dot org
Optimized builds:
Traverso's build script by default detects the host cpu feature set, for optimal build
settings. This can however make your build incompatible for certain cpu's.
You can disable host cpu feature detection with:
-DDETECT_HOST_CPU_FEATURES=OFF
To enable runtime detected SSE support, add:
-DCMAKE_CXX_FLAGS:STRING="-DSSE_OPTIMIZATIONS -DARCH_X86"
To enable runtime detected cpu fpu denormals are zero support, add:
-DCMAKE_CXX_FLAGS:STRING="-DUSE_XMMINTRIN -DARCH_X86"
If your distribution has slv2 >= 0.6.1 you can compile with:
-DUSE_SYSTEM_SLV2_LIBRARY=ON
to let Traverso use the system installed one.
E.g. compiling a package for an i686 compatible Linux system with runtime detected SSE support:
cmake . -DDETECT_HOST_CPU_FEATURES=OFF -DWANT_JACK=ON -DWANT_ALSA=ON -DUSE_SYSTEM_SLV2_LIBRARY=OFF \
-DCMAKE_CXX_FLAGS:STRING="-march=i686 -DSSE_OPTIMIZATIONS -DUSE_XMMINTRIN -DARCH_X86"
Compiling for a cpu architecture that doesn't support sse:
cmake . -DDETECT_HOST_CPU_FEATURES=OFF -DWANT_JACK=ON -DWANT_ALSA=ON -DUSE_SYSTEM_SLV2_LIBRARY=OFF
Adding additional compiler flags, like compiling with -msse -mfpmath=sse (in case the targetted host supports it):
cmake . -DDETECT_HOST_CPU_FEATURES=OFF -DWANT_JACK=ON -DWANT_ALSA=ON -DUSE_SYSTEM_SLV2_LIBRARY=OFF \
-DCMAKE_CXX_FLAGS:STRING="-march=i686 -msse -mfpmath=sse -DSSE_OPTIMIZATIONS -DUSE_XMMINTRIN -DARCH_X86"