File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 4
4
mkdir -p bin # create directory for executable
5
5
rm -f bin/OpenCL-Benchmark # prevent execution of old version if compiling fails
6
6
7
- case " $( uname -a) " in # automatically detect operating system and X11 support on Linux
7
+ case " $( uname -a) " in # automatically detect operating system
8
8
Darwin* ) g++ src/* .cpp -o bin/OpenCL-Benchmark -std=c++17 -pthread -O -Wno-comment -I./src/OpenCL/include -framework OpenCL ;; # macOS
9
9
* Android) g++ src/* .cpp -o bin/OpenCL-Benchmark -std=c++17 -pthread -O -Wno-comment -I./src/OpenCL/include -L/system/vendor/lib64 -lOpenCL ;; # Android
10
10
* ) g++ src/* .cpp -o bin/OpenCL-Benchmark -std=c++17 -pthread -O -Wno-comment -I./src/OpenCL/include -L./src/OpenCL/lib -lOpenCL ;; # Linux
You can’t perform that action at this time.
0 commit comments