mirror of
https://github.com/amd/blis.git
synced 2026-04-20 07:38:53 +00:00
Fixed build issue with clang in 'make checkcpp'
The makefile in vendor/testcpp folder has hardcoded g++ as cpp compiler and linker. Updated the makefile to take the compiler which is used to build the library. AMD-Internal: [CPUPL-1873] Change-Id: Ib0bcbb8fccd0ff6f90b49b3b1e4a272cf3bad361
This commit is contained in:
6
vendor/testcpp/Makefile
vendored
6
vendor/testcpp/Makefile
vendored
@@ -3,7 +3,7 @@
|
||||
# libraries.
|
||||
#
|
||||
# Copyright (C) 2014, The University of Texas at Austin
|
||||
# Copyright (C) 2017 - 2019, Advanced Micro Devices, Inc.
|
||||
# Copyright (C) 2017 - 2021, Advanced Micro Devices, Inc.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
@@ -112,7 +112,9 @@ TEST_OBJS := $(patsubst $(TEST_SRC_PATH)/%.c, \
|
||||
# while building BLIS.
|
||||
CINCFLAGS := -I$(INC_PATH)
|
||||
|
||||
CXX = g++
|
||||
# Use CXX from the blis configuration, this will insure that
|
||||
# correct compiler and compiler version is used to build testcpp folder
|
||||
#CXX = g++
|
||||
|
||||
# Use the CFLAGS for the configuration family.
|
||||
override CFLAGS += $(call get-sandbox-cxxflags-for,$(CONFIG_NAME))
|
||||
|
||||
Reference in New Issue
Block a user