Initial Nvidia jetson nano with Vulkan Support

This commit is contained in:
Carlos Estrague 2020-04-18 21:30:06 +02:00
parent 163a31f96c
commit 5836a99f7b
3 changed files with 11 additions and 2 deletions

View file

@ -62,7 +62,9 @@ option(USE_SYSTEM_RAPIDJSON
set(CPU_TYPE "" CACHE STRING "When set, passes this string as CPU-ID which will be embedded into the binary.")
set(CPU_OPTIMIZATION "-mmmx -msse -msse2" CACHE STRING "Which CPU specific optimitations should be used beside the compiler's default?")
if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86)|(X86)|(amd64)|(AMD64)")
set(CPU_OPTIMIZATION "-mmmx -msse -msse2" CACHE STRING "Which CPU specific optimitations should be used beside the compiler's default?")
endif()
option(USE_INTRINSICS "Compile using intrinsics (e.g mmx, sse, msse2)" ON)

View file

@ -0,0 +1,5 @@
cd ..
rm -rf build
mkdir build
cd build
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DSDL2=ON -DONATIVE=ON -DUSE_INTRINSICS=OFF -DUSE_VULKAN=ON -DSPIRV_SHADERC=OFF ../neo

View file

@ -111,7 +111,9 @@ If you have questions concerning this license or the applicable additional terms
#define CPUSTRING "x86_64"
#elif defined(__e2k__)
#define CPUSTRING "e2k"
#else
#elif defined(__aarch64__) || defined(__ARM64__) || defined(_M_ARM64)
#define CPUSTRING "aarch64"
#else
#error unknown CPU
#endif
#endif