Browse Source

Do not build starpupy when CPUs are not available

Samuel Thibault 4 years ago
parent
commit
e86e262942
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Makefile.am

+ 2 - 0
Makefile.am

@@ -53,9 +53,11 @@ if STARPU_BUILD_STARPURM
 SUBDIRS += starpurm
 SUBDIRS += starpurm
 endif
 endif
 
 
+if STARPU_USE_CPU
 if STARPU_BUILD_STARPUPY
 if STARPU_BUILD_STARPUPY
 SUBDIRS += starpupy
 SUBDIRS += starpupy
 endif
 endif
+endif
 
 
 if STARPU_BUILD_SC_HYPERVISOR
 if STARPU_BUILD_SC_HYPERVISOR
 SUBDIRS += sc_hypervisor
 SUBDIRS += sc_hypervisor