File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -316,8 +316,12 @@ endif
316316 -@echo "PNOOPT = $(LAPACK_FPFLAGS) -O0" >> $(NETLIB_LAPACK_DIR)/make.inc
317317ifeq ($(C_COMPILER )$(F_COMPILER )$(USE_OPENMP ) , CLANGGFORTRAN1)
318318 -@echo "LDFLAGS = $(FFLAGS) $(EXTRALIB) -lomp" >> $(NETLIB_LAPACK_DIR)/make.inc
319+ else
320+ ifeq ($(C_COMPILER )$(F_COMPILER )$(USE_OPENMP ) , CLANGIBM1)
321+ -@echo "LDFLAGS = $(FFLAGS) $(EXTRALIB) -lomp" >> $(NETLIB_LAPACK_DIR)/make.inc
319322else
320323 -@echo "LDFLAGS = $(FFLAGS) $(EXTRALIB)" >> $(NETLIB_LAPACK_DIR)/make.inc
324+ endif
321325endif
322326 -@echo "CC = $(CC)" >> $(NETLIB_LAPACK_DIR)/make.inc
323327 -@echo "override CFLAGS = $(LAPACK_CFLAGS)" >> $(NETLIB_LAPACK_DIR)/make.inc
Original file line number Diff line number Diff line change @@ -1181,7 +1181,7 @@ ifeq ($(F_COMPILER), IBM)
11811181CCOMMON_OPT += -DF_INTERFACE_IBM
11821182FEXTRALIB += -lxlf90
11831183ifeq ($(C_COMPILER), $(filter $(C_COMPILER),GCC CLANG))
1184- FCOMMON_OPT += -qextname
1184+ FCOMMON_OPT += -qextname -qzerosize
11851185endif
11861186# FCOMMON_OPT += -qarch=440
11871187ifdef BINARY64
Original file line number Diff line number Diff line change @@ -2006,8 +2006,13 @@ printf("ELF_VERSION=2\n");
20062006 #endif
20072007#elif NO_PARALLEL_MAKE == 1
20082008 printf ("MAKEFLAGS += -j 1\n" );
2009+ #else
2010+ #ifdef _AIX
2011+ int count = get_num_cores ();
2012+ printf ("MAKEFLAGS += -j %d\n" , (count > 32 ) ? 32 : count );
20092013#else
20102014 printf ("MAKEFLAGS += -j %d\n" , get_num_cores ());
2015+ #endif
20112016#endif
20122017
20132018 break ;
You can’t perform that action at this time.
0 commit comments