• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching +full:- +full:- +full:disable +full:- +full:openmp

3 Frontend-tool for Gallium3D architecture.
25 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
77 version = version[:-1]
88 '-Werror=vla',
89 '-Werror=pointer-arith',
120 return int(os.popen2("sysctl -n hw.ncpu")[1].read())
127 def check_cc(env, cc, expr, cpp_opt = '-E'):
128 # Invoke C-preprocessor to determine whether the specified expression is
207 # Detect gcc/clang not by executable name, but through pre-defined macros
209 # that overrice CC/CXX like scan-build.
292 build_subdir = 'embedded-' + build_subdir
294 build_subdir += '-' + env['machine']
296 build_subdir += '-' + env['build']
312 env.Decider('MD5-timestamp')
370 # http://msdn.microsoft.com/en-us/library/aa383745.aspx
394 print('warning: Floating-point textures enabled.')
405 ccflags += ['-O0']
407 ccflags += ['-O3']
411 ccflags += ['-fno-builtin-memcmp']
412 # Work around aliasing bugs - developers should comment this out
413 ccflags += ['-fno-strict-aliasing']
414 ccflags += ['-g']
418 '-fno-omit-frame-pointer',
421 ccflags += ['-fno-optimize-sibling-calls']
424 '-m32',
425 #'-march=pentium4',
431 # -mstackrealign ore -mincoming-stack-boundary=2.
433 # XXX: We could have SSE without -mstackrealign if we always used
437 '-mstackrealign', # ensure stack is aligned
438 '-msse', '-msse2', # enable SIMD intrinsics
439 '-mfpmath=sse', # generate SSE floating-point arithmetic
443 ccflags += ['-fno-common']
447 '-mstackrealign', # ensure stack is aligned
448 '-march=i586', # Haiku target is Pentium
449 '-mtune=i686' # use i686 where we can
452 ccflags += ['-m64']
454 ccflags += ['-fno-common']
456 ccflags += ['-fvisibility=hidden']
458 # - http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
460 '-Wall',
461 '-Wno-long-long',
462 '-fmessage-length=0', # be nice to Eclipse
465 '-Wmissing-prototypes',
466 '-std=gnu99',
470 '-std=gnu99',
474 # - http://msdn.microsoft.com/en-us/library/19z1t1wy.aspx
475 # - cl /?
478 '/Od', # disable optimizations
492 '/Oy-', # disable frame pointer omission
497 '/wd4056', # overflow in floating-point constant arithmetic
504 '/wd4996', # disable deprecated POSIX name warnings
508 … '-Wno-microsoft-enum-value', # enumerator value is not representable in underlying type 'int'
528 # http://msdn.microsoft.com/en-us/library/2kzt1wy3.aspx
539 # http://msdn.microsoft.com/en-us/library/ms173498.aspx
546 # scan-build will produce more comprehensive output
547 env.Append(CCFLAGS = ['--analyze'])
553 '-fsanitize=address',
556 '-fsanitize=address',
562 env.Append(ASFLAGS = ['-m32'])
564 env.Append(ASFLAGS = ['-m64'])
571 linkflags += ['-m32']
573 linkflags += ['-m64']
576 '-Wl,-Bsymbolic',
582 env['_LIBFLAGS'] = '-Wl,--start-group ' + env['_LIBFLAGS'] + ' -Wl,--end-group'
585 '-Wl,--nxcompat', # DEP
586 '-Wl,--dynamicbase', # ASLR
589 linkflags += ['-static-libgcc']
590 if 'w64' in env['CC'].split('-'):
591 linkflags += ['-static-libstdc++']
593 shlinkflags += ['-Wl,--enable-stdcall-fixup']
594 #shlinkflags += ['-Wl,--kill-at']
597 # enable Link-time Code Generation
602 # - http://msdn2.microsoft.com/en-us/library/y0zzbyt4.aspx
626 # OpenMP
627 if env['openmp']:
629 env.Append(CCFLAGS = ['/openmp'])
630 # When building openmp release VS2008 link.exe crashes with LNK1103 error.
635 env.Append(CCFLAGS = ['-fopenmp'])
645 # disable all MSVC extensions.
646 '-DYY_USE_CONST=',
654 env.Append(CCFLAGS = ['-FIinttypes.h'])
663 '--wincompat'
682 env.PkgCheckModules('XCB', ['x11-xcb', 'xcb-glx >= 1.8.1', 'xcb-dri2 >= 1.8'])