mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Remove build systems other than CMake
Make it clear that CMake is the only supported build system. Signed-off-by: Kevin Petit <kevin.petit@arm.com>
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
project
|
||||
: requirements
|
||||
-<library>/harness//harness <use>/harness//harness
|
||||
# <toolset>gcc:<cflags>-xc
|
||||
<toolset>msvc:<cflags>"/TP"
|
||||
;
|
||||
|
||||
exe test_select
|
||||
: test_select.c
|
||||
util_select.c
|
||||
/harness//mt19937.c
|
||||
/harness//kernelHelpers.c
|
||||
/harness//errorHelpers.c
|
||||
: <target-os>windows:<source>/harness//msvc9.c
|
||||
;
|
||||
|
||||
install dist
|
||||
: test_select
|
||||
: <variant>debug:<location>$(DIST)/debug/tests/test_conformance/select
|
||||
<variant>release:<location>$(DIST)/release/tests/test_conformance/select
|
||||
;
|
||||
@@ -1,33 +0,0 @@
|
||||
ifdef BUILD_WITH_ATF
|
||||
ATF = -framework ATF
|
||||
USE_ATF = -DUSE_ATF
|
||||
endif
|
||||
|
||||
SRCS = test_select.c util_select.c ../../test_common/harness/mt19937.c ../../test_common/harness/kernelHelpers.c ../../test_common/harness/errorHelpers.c
|
||||
|
||||
LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries
|
||||
LIBPATH += -L.
|
||||
FRAMEWORK = $(abspath $(SRCS))
|
||||
HEADERS = test_select.h
|
||||
TARGET = test_select
|
||||
INCLUDE =
|
||||
COMPILERFLAGS = -c -Wall -g -Os -Wshorten-64-to-32
|
||||
CC = c++
|
||||
CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF}
|
||||
LIBRARIES = -framework OpenCL ${ATF}
|
||||
|
||||
OBJECTS = test_select.o util_select.o mt19937.o kernelHelpers.o errorHelpers.o
|
||||
TARGETOBJECT =
|
||||
all: $(TARGET)
|
||||
|
||||
$(OBJECTS): $(FRAMEWORK) $(HEADERS)
|
||||
$(CC) $(CFLAGS) $(INCLUDE) $(FRAMEWORK)
|
||||
|
||||
$(TARGET): $(OBJECTS)
|
||||
$(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES)
|
||||
|
||||
clean:
|
||||
rm -f $(TARGET) $(OBJECTS)
|
||||
|
||||
.DEFAULT:
|
||||
@echo The target \"$@\" does not exist in Makefile.
|
||||
Reference in New Issue
Block a user