Home | History | Annotate | Download | only in scripts

Lines Matching defs:Option

34 class Option(object):
48 return Option(Option.Type.COMPILER, value)
52 return Option(Option.Type.COMPILER_FLAG, value)
56 return Option(Option.Type.CONFIGURE_FLAG, value)
60 return Option(Option.Type.MALLOC_CONF, value)
64 return Option(Option.Type.FEATURE, value)
67 return (isinstance(obj, Option) and obj.type == self.type
72 Option.Type.COMPILER: 'COMPILER',
73 Option.Type.COMPILER_FLAG: 'COMPILER_FLAG',
74 Option.Type.CONFIGURE_FLAG: 'CONFIGURE_FLAG',
75 Option.Type.MALLOC_CONF: 'MALLOC_CONF',
76 Option.Type.FEATURE: 'FEATURE'
78 return f"Option({type_names[self.type]}, {repr(self.value)})"
90 GCC = Option.as_compiler('CC=gcc CXX=g++')
91 CLANG = Option.as_compiler('CC=clang CXX=clang++')
92 CL = Option.as_compiler('CC=cl.exe CXX=cl.exe')
98 CROSS_COMPILE_32BIT = Option.as_feature('CROSS_COMPILE_32BIT')
102 configure_flag_unusuals = [Option.as_configure_flag(opt) for opt in (
111 LARGE_HUGEPAGE = Option.as_configure_flag("--with-lg-page=16 --with-lg-hugepage=29")
114 malloc_conf_unusuals = [Option.as_malloc_conf(opt) for opt in (
141 '-Wno-unknown-warning-option',
153 compilers = [x.value for x in combination if x.type == Option.Type.COMPILER]
154 compiler_flags = [x.value for x in combination if x.type == Option.Type.COMPILER_FLAG]
155 configure_flags = [x.value for x in combination if x.type == Option.Type.CONFIGURE_FLAG]
156 malloc_conf = [x.value for x in combination if x.type == Option.Type.MALLOC_CONF]
157 features = [x.value for x in combination if x.type == Option.Type.FEATURE]
228 linux_configure_flags.append(Option.as_configure_flag("--enable-prof --enable-prof-frameptr"))
352 exclude = ([Option.as_malloc_conf(opt) for opt in (
355 [Option.as_configure_flag('--enable-prof')] +
444 Option.as_configure_flag('--enable-debug'),