Browse Source

Merge pull request #5217 from haampie/hs/fix/darwin-gcc

test_potrs.c: do not use GCC pragma on darwin-aarch64
tags/v0.3.30
Martin Kroeker GitHub 1 year ago
parent
commit
ed1e470663
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions
  1. +0
    -4
      Makefile.system
  2. +2
    -0
      utest/test_potrs.c

+ 0
- 4
Makefile.system View File

@@ -436,10 +436,6 @@ CCOMMON_OPT += -Wl,-ld_classic
FCOMMON_OPT += -Wl,-ld_classic
endif
ifeq (x$(XCVER), x 16)
ifeq ($(C_COMPILER), GCC)
CCOMMON_OPT += -Wl,-ld_classic
FCOMMON_OPT += -Wl,-ld_classic
endif
ifeq ($(F_COMPILER), GFORTRAN)
override CEXTRALIB := $(filter-out(-lto_library, $(CEXTRALIB)))
endif


+ 2
- 0
utest/test_potrs.c View File

@@ -32,7 +32,9 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
**********************************************************************************/

#include "openblas_utest.h"
#if defined(ARCH_LOONGARCH64)
#pragma GCC optimize("no-gcse")
#endif
/*
void BLASFUNC(cpotrf)(char*, BLASINT*, complex float*, BLASINT*, BLASINT*);
void BLASFUNC(zpotrs_(char*, BLASINT*, BLASINT*, complex double*,


Loading…
Cancel
Save