Added warnings about 32bit when configure

This commit is contained in:
NightFox 2023-12-12 14:31:20 +03:00 committed by GitHub
parent e1868c752f
commit 1a9f97bb14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -60,6 +60,12 @@ def configure(conf):
conf.env.LIB_AFTERMATH = [lib]
conf.end_msg('SDK: {0}, includes: {1}, libpath: {2}, lib: {3}'.format(path, conf.env.INCLUDES_AFTERMATH, conf.env.LIBPATH_AFTERMATH, conf.env.LIB_AFTERMATH))
if not conf.options.ALLOW64:
Logs.warn('\x1b[35;20m==============================================================')
Logs.error('\x1b[33;20mNo ray tracing extensions in \x1b[31;1m32-bit \x1b[33;20mmode!')
Logs.warn("Note that Ray Tracing REQUIRES \x1b[32;1m64-bit \x1b[33;20mprocess!\n\x1b[36;20mPlease configure with the 64-bit using \x1b[32;1m-8 \x1b[36;20mor \x1b[32;1m--64bits \x1b[36;20mflags.");
Logs.warn('\x1b[35;20m==============================================================')
# TODO if debug
conf.env.GLSLCFLAGS += ['-g', '-O']