瀏覽代碼

using CC from starpu, instead of hardcoded gcc for min-dgels

Luka Stanisic 8 年之前
父節點
當前提交
a7a0ebe6f0
共有 2 個文件被更改,包括 4 次插入3 次删除
  1. 1 1
      min-dgels/Makefile.in
  2. 3 2
      min-dgels/base/make.inc

+ 1 - 1
min-dgels/Makefile.in

@@ -5,7 +5,7 @@ all:
 	mkdir -p build
 	cd $(CLAPACK) && $(MAKE) blaslib
 	cd $(CLAPACK) && $(MAKE) f2clib
-	cd $(ADDITIONAL) && gcc -c -fPIC *.c && ar cr ../build/minlibdgels.a *.o && ranlib ../build/minlibdgels.a
+	cd $(ADDITIONAL) && $(CC) -c -fPIC *.c && ar cr ../build/minlibdgels.a *.o && ranlib ../build/minlibdgels.a
 
 install:
 

+ 3 - 2
min-dgels/base/make.inc

@@ -21,11 +21,12 @@ PLAT = _LINUX
 #
 #######################################################
 # This is used to compile C libary
-CC        = gcc
+#CC        = gcc
 # if no wrapping of the blas library is needed, uncomment next line
 #CC        = gcc -DNO_BLAS_WRAP
 CFLAGS    = -O3 -I$(TOPDIR)/INCLUDE -fPIC
-LOADER    = gcc
+#LOADER    = gcc
+LOADER    = $(CC)
 LOADOPTS  =
 NOOPT     = -O0 -I$(TOPDIR)/INCLUDE
 DRVCFLAGS = $(CFLAGS)