mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-14 22:50:45 +00:00
Initial Nvidia jetson nano with Vulkan Support
This commit is contained in:
parent
163a31f96c
commit
5836a99f7b
3 changed files with 11 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
5
neo/cmake-linux-nvidia-jetson-vulkan-release.sh
Executable file
5
neo/cmake-linux-nvidia-jetson-vulkan-release.sh
Executable 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
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue