mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-22 23:29:02 +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,36 +0,0 @@
|
||||
project
|
||||
: requirements
|
||||
-<library>/harness//harness <use>/harness//harness
|
||||
<library>/Runtime//OpenCL.lib
|
||||
# <toolset>gcc:<cflags>-xc++
|
||||
<toolset>msvc:<cflags>"/TP"
|
||||
;
|
||||
|
||||
exe bruteforce
|
||||
: binary.c
|
||||
binary_i.c
|
||||
binaryOperator.c
|
||||
binary_two_results_i.c
|
||||
FunctionList.c
|
||||
i_unary.c
|
||||
macro_binary.c
|
||||
macro_unary.c
|
||||
mad.c
|
||||
main.c
|
||||
reference_math.c
|
||||
Sleep.c
|
||||
ternary.c
|
||||
unary.c
|
||||
unary_two_results.c
|
||||
unary_two_results_i.c
|
||||
unary_u.c
|
||||
Utility.c
|
||||
/harness//mt19937.c
|
||||
: <target-os>windows:<source>/harness//msvc9.c
|
||||
;
|
||||
|
||||
install dist
|
||||
: bruteforce
|
||||
: <variant>debug:<location>$(DIST)/debug/tests/test_conformance/math_brute_force
|
||||
<variant>release:<location>$(DIST)/release/tests/test_conformance/math_brute_force
|
||||
;
|
||||
@@ -1,33 +0,0 @@
|
||||
ifdef BUILD_WITH_ATF
|
||||
ATF = -framework ATF
|
||||
USE_ATF = -DUSE_ATF
|
||||
endif
|
||||
|
||||
CC = cc
|
||||
CFLAGS = -g -Wall -Wshorten-64-to-32 $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF}
|
||||
LIBRARIES = -framework OpenCL -framework ApplicationServices -framework IOKit -I/System/Library/Frameworks/OpenCL.framework/Headers ${RC_CFLAGS} ${ATF}
|
||||
|
||||
release:
|
||||
echo "Build Release"
|
||||
$(CC) *.c ../../test_common/harness/mt19937.c ../../test_common/harness/rounding_mode.c ../../test_common/harness/ThreadPool.c -Os $(CFLAGS) -o bruteforce $(LIBRARIES)
|
||||
|
||||
debug:
|
||||
echo "Build Debug"
|
||||
$(CC) *.c ../../test_common/harness/mt19937.c ../../test_common/harness/rounding_mode.c ../../test_common/harness/ThreadPool.c -O0 $(CFLAGS) -D_DEBUG=1 -o bruteforce_debug $(LIBRARIES)
|
||||
|
||||
test: release
|
||||
arch -i386 ./bruteforce -c > cpu.log &
|
||||
arch -i386 ./bruteforce -g > gpu.log &
|
||||
echo "Testing 32-bit mode in progress. This may take up to 1 day to complete. See cpu.log and gpu.log for results."
|
||||
|
||||
test64: release
|
||||
arch -x86_64 ./bruteforce -c > cpu64.log &
|
||||
arch -x86_64 ./bruteforce -g > gpu64.log &
|
||||
echo "Testing 64-bit mode in progress. This may take up to 1 day to complete. See cpu64.log and gpu64.log for results."
|
||||
|
||||
|
||||
clean:
|
||||
rm -f ./bruteforce_debug
|
||||
rm -f ./bruteforce
|
||||
|
||||
all: release
|
||||
Reference in New Issue
Block a user