aboutsummaryrefslogtreecommitdiff
path: root/m4
AgeCommit message (Collapse)Author
2016-05-27configure: add check for gcc versionBill Fischofer
GCC support for cmpxchng16 is buggy for older versions of GCC, so add a check for GCC version and don't enable this unless either we are not using GCC (e.g., CC=clang is specified) or the GCC major version is 5 or higher. Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2016-05-10doc: api guide: use default cfg file name DoxyfileMike Holmes
Signed-off-by: Mike Holmes <mike.holmes@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org>
2016-05-10linux-generic: correctly set arch as undefinedMike Holmes
arch is defined as an architecture flag so that optimisations or necessary differences can be accommodated. When we are unable to determine the architecture it is incorrect to assign it the value of an operating system. Instead lets label it correctly as a default and add an error to the user when an unknown arch is encountered. Signed-off-by: Mike Holmes <mike.holmes@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org>
2016-03-04linux-generic: separate x86 ODP_CACHE_LINE_SIZE to its arch fileHongbo Zhang
Currently all ODP_CACHE_LINE_SIZE macros for different architectures are held in one header file, they should be moved to their own arch file. This patch moves ODP_CACHE_LINE_SIZE for x86. Signed-off-by: Mike Holmes <mike.holmes@linaro.org> Signed-off-by: Hongbo Zhang <hongbo.zhang@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2016-02-25doc: update to latest ax_prog_doxygen.m4Mike Holmes
fixes https://bugs.linaro.org/show_bug.cgi?id=1946 Move to the latest m4 scripts for doxygen and revert to using it without modification, thus make doxygen-html becomes make doxygen-doc. Also cleans up the last parts of the previously removed .pdf support. Signed-off-by: Mike Holmes <mike.holmes@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2015-10-27m4: valgrind fix confgure outputMike Holmes
Signed-off-by: Mike Holmes <mike.holmes@linaro.org> Reviewed-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2015-07-27m4: pthread: fix warning with WextraNicolas Morey-Chaisemartin
When adding both Wextra and Werror to CPPFLAGS, configure fails due to a warning during the pthread configuration phase: | #include <pthread.h> | static void routine(void *a) { a = 0; } | static void *start_routine(void *a) { return a; } | int | main () | { | pthread_t th; pthread_attr_t attr; | pthread_create(&th, 0, start_routine, 0); | pthread_join(th, 0); | pthread_attr_init(&attr); | pthread_cleanup_push(routine, 0); | pthread_cleanup_pop(0) /* ; */ | ; | return 0; | } configure:19696: result: no configure:19594: checking whether pthreads work without any flags configure:19687: gcc -o conftest -g -O2 -Wall -Werror -Wextra conftest.c >&5 conftest.c: In function 'routine': conftest.c:64:51: error: parameter 'a' set but not used [-Werror=unused-but-set-parameter] static void routine(void *a) { a = 0; } Signed-off-by: Nicolas Morey-Chaisemartin <nmorey@kalray.eu> Reviewed-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2015-04-08test: enable valgrind checkAnders Roxell
Valgrind will enable memcheck, drd and sgcheck by default Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Reviewed-and-Tested-by: Mike Holmes <mike.holmes@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2015-04-08m4: add plumbing for valgrind checkAnders Roxell
Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Reviewed-and-Tested-by: Mike Holmes <mike.holmes@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2015-01-21doc: cleanup doxygen build rulesAnders Roxell
Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Reviewed-by: Steve McIntyre <steve.mcintyre@linaro.org> Reviewed-and-tested-by: Mike Holmes <mike.holmes@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2014-12-12odp version scriptMaxim Uvarov
Update odp version in one place (C code), and use it for doxygen also. Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> Reviewed-and-tested-by: Mike Holmes <mike.holmes@linaro.org> Reviewed-by: Anders Roxell <anders.roxell@linaro.org>
2014-09-04doxygen: change doxygen-run to doxygen-htmlAnders Roxell
Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2014-07-03Autotoolise build systemAnders Roxell
Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Reviewed-by: Steve McIntyre <steve.mcintyre@linaro.org>