Skip to content

Commit b2b628f

Browse files
committed
ci.inria.fr/sonarscanner: fix CPU_WHICH_DOMAIN definition
Use it in the FreeBSD check. Fixes commit 807e0a3 Signed-off-by: Brice Goglin <[email protected]>
1 parent dbd07a0 commit b2b628f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/ci.inria.fr/job-3-sonarscanner.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ DEFINITIONS=
9292
${CPPCHECK} ${DEFINITIONS} hwloc/topology-bgq.c -Itests/hwloc/ports/include/bgq 2> hwloc-cppcheck-bgq.xml
9393
DEFINITIONS=
9494
${CPPCHECK} ${DEFINITIONS} hwloc/topology-darwin.c -Itests/hwloc/ports/include/darwin 2> hwloc-cppcheck-darwin.xml
95-
DEFINITIONS="-Dhwloc_thread_t=pthread_t"
95+
DEFINITIONS="-Dhwloc_thread_t=pthread_t -DCPU_WHICH_DOMAIN=6"
9696
${CPPCHECK} ${DEFINITIONS} hwloc/topology-freebsd.c -Itests/hwloc/ports/include/freebsd 2> hwloc-cppcheck-freebsd.xml
97-
DEFINITIONS="-DMAP_MEM_FIRST_TOUCH=2 -Dhwloc_thread_t=pthread_t -DCPU_WHICH_DOMAIN=6"
97+
DEFINITIONS="-DMAP_MEM_FIRST_TOUCH=2 -Dhwloc_thread_t=pthread_t"
9898
${CPPCHECK} ${DEFINITIONS} hwloc/topology-hpux.c -Itests/hwloc/ports/include/hpux 2> hwloc-cppcheck-hpux.xml
9999
DEFINITIONS="-Dhwloc_thread_t=pthread_t"
100100
${CPPCHECK} ${DEFINITIONS} hwloc/topology-netbsd.c -Itests/hwloc/ports/include/netbsd 2> hwloc-cppcheck-netbsd.xml

0 commit comments

Comments
 (0)