mcstat: Fix build error
This commit is contained in:
@ -10,10 +10,10 @@ MANDIR=@MANDIR@
|
|||||||
MCKERNEL_INCDIR=@MCKERNEL_INCDIR@
|
MCKERNEL_INCDIR=@MCKERNEL_INCDIR@
|
||||||
KDIR ?= @KDIR@
|
KDIR ?= @KDIR@
|
||||||
ARCH=@ARCH@
|
ARCH=@ARCH@
|
||||||
IHKDIR ?= $(VPATH)/../../../ihk/linux/include/
|
|
||||||
CFLAGS=-Wall -O -I. -I${MCKERNEL_INCDIR} -I${IHKDIR}
|
|
||||||
LDFLAGS=@LDFLAGS@
|
|
||||||
VPATH=@abs_srcdir@
|
VPATH=@abs_srcdir@
|
||||||
|
IHKDIR ?= $(VPATH)/../../../ihk/linux/include/
|
||||||
|
CFLAGS=-Wall -O -I. -I${MCKERNEL_INCDIR} -I${IHKDIR} -I@abs_srcdir@/../../executer/include
|
||||||
|
LDFLAGS=@LDFLAGS@
|
||||||
TARGET=mcstat
|
TARGET=mcstat
|
||||||
|
|
||||||
.PHONY: all clean install
|
.PHONY: all clean install
|
||||||
|
|||||||
@ -18,7 +18,7 @@
|
|||||||
#include <ihk/ihk_host_user.h>
|
#include <ihk/ihk_host_user.h>
|
||||||
#include <ihk/ihklib_private.h> // mcctrl_ioctl_getrusage_desc is defined here
|
#include <ihk/ihklib_private.h> // mcctrl_ioctl_getrusage_desc is defined here
|
||||||
#undef IHK_MAX_NUM_NUMA_NODES
|
#undef IHK_MAX_NUM_NUMA_NODES
|
||||||
#include <mckernel/ihklib_rusage.h> // mckernel_rusage is defined here
|
#include <ihklib_rusage.h> // mckernel_rusage is defined here
|
||||||
|
|
||||||
#define MAX_CPUS 256
|
#define MAX_CPUS 256
|
||||||
#define MiB100 (100*1024*1024) // 100 MiB
|
#define MiB100 (100*1024*1024) // 100 MiB
|
||||||
|
|||||||
Reference in New Issue
Block a user