Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Side by Side Diff: SConstruct

Issue 9722020: Enable snapshots on MIPS. This is based on (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/arm/assembler-arm.h » ('j') | test/cctest/cctest.status » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 'CCFLAGS': ['-mhard-float'], 211 'CCFLAGS': ['-mhard-float'],
212 'LINKFLAGS': ['-mhard-float'] 212 'LINKFLAGS': ['-mhard-float']
213 } 213 }
214 } 214 }
215 }, 215 },
216 'simulator:mips': { 216 'simulator:mips': {
217 'CCFLAGS': ['-m32'], 217 'CCFLAGS': ['-m32'],
218 'LINKFLAGS': ['-m32'], 218 'LINKFLAGS': ['-m32'],
219 'mipsabi:softfloat': { 219 'mipsabi:softfloat': {
220 'CPPDEFINES': ['__mips_soft_float=1'], 220 'CPPDEFINES': ['__mips_soft_float=1'],
221 'fpu:on': {
222 'CPPDEFINES' : ['CAN_USE_FPU_INSTRUCTIONS']
223 }
221 }, 224 },
222 'mipsabi:hardfloat': { 225 'mipsabi:hardfloat': {
223 'CPPDEFINES': ['__mips_hard_float=1'], 226 'CPPDEFINES': ['__mips_hard_float=1', 'CAN_USE_FPU_INSTRUCTIONS'],
224 } 227 }
225 }, 228 },
226 'arch:x64': { 229 'arch:x64': {
227 'CPPDEFINES': ['V8_TARGET_ARCH_X64'], 230 'CPPDEFINES': ['V8_TARGET_ARCH_X64'],
228 'CCFLAGS': ['-m64'], 231 'CCFLAGS': ['-m64'],
229 'LINKFLAGS': ['-m64'], 232 'LINKFLAGS': ['-m64'],
230 }, 233 },
231 'gdbjit:on': { 234 'gdbjit:on': {
232 'CPPDEFINES': ['ENABLE_GDB_JIT_INTERFACE'] 235 'CPPDEFINES': ['ENABLE_GDB_JIT_INTERFACE']
233 }, 236 },
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 }, 571 },
569 'library:static': { 572 'library:static': {
570 'LINKFLAGS': ['-static', '-static-libgcc'] 573 'LINKFLAGS': ['-static', '-static-libgcc']
571 }, 574 },
572 'mipsabi:softfloat': { 575 'mipsabi:softfloat': {
573 'CCFLAGS': ['-msoft-float'], 576 'CCFLAGS': ['-msoft-float'],
574 'LINKFLAGS': ['-msoft-float'] 577 'LINKFLAGS': ['-msoft-float']
575 }, 578 },
576 'mipsabi:hardfloat': { 579 'mipsabi:hardfloat': {
577 'CCFLAGS': ['-mhard-float'], 580 'CCFLAGS': ['-mhard-float'],
578 'LINKFLAGS': ['-mhard-float'] 581 'LINKFLAGS': ['-mhard-float'],
582 'fpu:on': {
583 'CPPDEFINES' : ['CAN_USE_FPU_INSTRUCTIONS']
584 }
579 } 585 }
580 } 586 }
581 }, 587 },
582 'simulator:arm': { 588 'simulator:arm': {
583 'CCFLAGS': ['-m32'], 589 'CCFLAGS': ['-m32'],
584 'LINKFLAGS': ['-m32'] 590 'LINKFLAGS': ['-m32']
585 }, 591 },
586 'simulator:mips': { 592 'simulator:mips': {
587 'CCFLAGS': ['-m32'], 593 'CCFLAGS': ['-m32'],
588 'LINKFLAGS': ['-m32'] 594 'LINKFLAGS': ['-m32']
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after
1139 'compress_startup_data': { 1145 'compress_startup_data': {
1140 'values': ['off', 'bz2'], 1146 'values': ['off', 'bz2'],
1141 'default': 'off', 1147 'default': 'off',
1142 'help': 'compress startup data (snapshot) [Linux only]' 1148 'help': 'compress startup data (snapshot) [Linux only]'
1143 }, 1149 },
1144 'vfp3': { 1150 'vfp3': {
1145 'values': ['on', 'off'], 1151 'values': ['on', 'off'],
1146 'default': 'on', 1152 'default': 'on',
1147 'help': 'use vfp3 instructions when building the snapshot [Arm only]' 1153 'help': 'use vfp3 instructions when building the snapshot [Arm only]'
1148 }, 1154 },
1155 'fpu': {
1156 'values': ['on', 'off'],
1157 'default': 'on',
1158 'help': 'use fpu instructions when building the snapshot [MIPS only]'
1159 },
1149 1160
1150 } 1161 }
1151 1162
1152 ALL_OPTIONS = dict(PLATFORM_OPTIONS, **SIMPLE_OPTIONS) 1163 ALL_OPTIONS = dict(PLATFORM_OPTIONS, **SIMPLE_OPTIONS)
1153 1164
1154 1165
1155 def AddOptions(options, result): 1166 def AddOptions(options, result):
1156 guess_env = Environment(options=result) 1167 guess_env = Environment(options=result)
1157 for (name, option) in options.iteritems(): 1168 for (name, option) in options.iteritems():
1158 if 'guess' in option: 1169 if 'guess' in option:
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
1584 # version of scons. Also, there's a bug in some revisions that 1595 # version of scons. Also, there's a bug in some revisions that
1585 # doesn't allow this flag to be set, so we swallow any exceptions. 1596 # doesn't allow this flag to be set, so we swallow any exceptions.
1586 # Lovely. 1597 # Lovely.
1587 try: 1598 try:
1588 SetOption('warn', 'no-deprecated') 1599 SetOption('warn', 'no-deprecated')
1589 except: 1600 except:
1590 pass 1601 pass
1591 1602
1592 1603
1593 Build() 1604 Build()
OLDNEW
« no previous file with comments | « no previous file | src/arm/assembler-arm.h » ('j') | test/cctest/cctest.status » ('J')

Powered by Google App Engine
This is Rietveld 408576698