path: root/
AgeCommit message (Collapse)AuthorFilesLines
2018-04-06support ccache to speed up ttcn3 test compilationStefan Sperling1-0/+18
By default, if ccache is found in PATH when runs, use cached compiled C++ object files during the build (or populate the cache in case an object is not cached yet). Objects are cached in ccache's default cache directory (~/.ccache) unless overriden by the CCACHE_DIR environment variable. The USE_CCACHE environment variable overrides auto-detection in and disables (USE_CCACHE=0) or enables (USE_CCACHE=1) use of ccache. Rebuilding the test suite from scratch with a populated cache is an order of magnitude faster than doing an initial build. ccache only speeds up C++ (.cc) to object file (.o) compilation. Linking object (.o) files into shared object (.so) files is still performed by the real compiler during every build. Change-Id: Ibb538f602206535c06980f88191c1dabe3c4cd82
2018-02-20IPA_Emulation: Make dependencies to RSL/MGCP/SCCP/GSUP conditionalHarald Welte1-1/+5
Let's use the preprocessor to avoid IPA_Emulation pulling *all* dependencies into each and any of our projects. The code readability suffers a bit from the many #ifdefs, but compilation speed increases if we don't have to pull in all those (recursive) dependencies. After all, a BTS test case will never need SCCP, GSUP or MGCP. Change-Id: Ic0231adbd2171214de133d26b3fbf36130ee8aa0 Exit with clear error if ttcn3 bin not foundPau Espin Pedrol1-0/+2
Change-Id: I866a758ec472968f368866e3b3b24dc6f14ac7cb Support Archlinux install pathsPau Espin Pedrol1-1/+5
Archlinux (titan-git AUR package) installs everything (includes, libs and bin) into /usr/ttcn/ prefix. Change-Id: I545f2f04890310e98233b04b44c4614df34f2f17
2017-12-13Avoid gcc version checkMax1-1/+5
By default the build fails on Debian due to gcc version check in /usr/include/titan/cversion.h - instead of asking users to manually change this file let's add workaround to our makefile fixer which disables this check automatically. The corresponding Debian bug: Change-Id: I71c765d5d8e182a198e2c5d2886ebce3b86e6328
2017-12-13generalize shared code from into shared helper scriptHarald Welte1-0/+20
Change-Id: I86a738420851a7d9e3bdb2671f6862c3d505a4ba