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

Side by Side Diff: gypfiles/toolchain.gypi

Issue 2171303002: MIPS: Fix '[turbofan] Prevent storing signalling NaNs into holey double arrays.' (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add mac cross-build conditions. Created 4 years, 4 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
« no previous file with comments | « no previous file | src/compiler/mips/code-generator-mips.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 the V8 project authors. All rights reserved. 1 # Copyright 2013 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 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 'defines': [ 357 'defines': [
358 'V8_TARGET_ARCH_IA32', 358 'V8_TARGET_ARCH_IA32',
359 ], 359 ],
360 }], # v8_target_arch=="ia32" 360 }], # v8_target_arch=="ia32"
361 ['v8_target_arch=="x87"', { 361 ['v8_target_arch=="x87"', {
362 'defines': [ 362 'defines': [
363 'V8_TARGET_ARCH_X87', 363 'V8_TARGET_ARCH_X87',
364 ], 364 ],
365 'cflags': ['-march=i586'], 365 'cflags': ['-march=i586'],
366 }], # v8_target_arch=="x87" 366 }], # v8_target_arch=="x87"
367 ['(v8_target_arch=="mips" or v8_target_arch=="mipsel" \ 367 ['v8_target_arch=="mips" or v8_target_arch=="mipsel" \
368 or v8_target_arch=="mips64" or v8_target_arch=="mips64el") \ 368 or v8_target_arch=="mips64" or v8_target_arch=="mips64el"', {
369 and v8_target_arch==target_arch', {
370 'target_conditions': [ 369 'target_conditions': [
371 ['_toolset=="target"', { 370 ['_toolset=="target"', {
372 # Target built with a Mips CXX compiler.
373 'variables': {
374 'ldso_path%': '<!(/bin/echo -n $LDSO_PATH)',
375 'ld_r_path%': '<!(/bin/echo -n $LD_R_PATH)',
376 },
377 'conditions': [ 371 'conditions': [
378 ['ldso_path!=""', { 372 ['v8_target_arch==target_arch', {
379 'ldflags': ['-Wl,--dynamic-linker=<(ldso_path)'], 373 # Target built with a Mips CXX compiler.
380 }], 374 'conditions': [
Michael Achenbach 2016/07/26 06:32:29 These leftover conditions led to the drmemory erro
balazs.kilvady 2016/07/26 15:58:23 Thanks for catching it, I am going to upload a new
381 ['ld_r_path!=""', { 375 ],
382 'ldflags': ['-Wl,--rpath=<(ld_r_path)'], 376 'variables': {
383 }], 377 'ldso_path%': '<!(/bin/echo -n $LDSO_PATH)',
384 [ 'clang==1', { 378 'ld_r_path%': '<!(/bin/echo -n $LD_R_PATH)',
385 'cflags': ['-integrated-as'], 379 },
380 'conditions': [
381 ['ldso_path!=""', {
382 'ldflags': ['-Wl,--dynamic-linker=<(ldso_path)'],
383 }],
384 ['ld_r_path!=""', {
385 'ldflags': ['-Wl,--rpath=<(ld_r_path)'],
386 }],
387 [ 'clang==1', {
388 'cflags': ['-integrated-as'],
389 }],
390 ['OS!="mac"', {
391 'defines': ['_MIPS_TARGET_HW',],
392 }, {
393 'defines': ['_MIPS_TARGET_SIMULATOR',],
394 }],
395 ],
396 }, {
397 'defines': ['_MIPS_TARGET_SIMULATOR',],
386 }], 398 }],
387 ], 399 ],
388 }], 400 }], #'_toolset=="target"
401 ['_toolset=="host"', {
402 'conditions': [
403 ['v8_target_arch==target_arch and OS!="mac"', {
404 'defines': ['_MIPS_TARGET_HW',],
405 }, {
406 'defines': ['_MIPS_TARGET_SIMULATOR',],
407 }],
408 ],
409 }], #'_toolset=="host"
389 ], 410 ],
390 }], 411 }],
391 ['v8_target_arch=="mips"', { 412 ['v8_target_arch=="mips"', {
392 'defines': [ 413 'defines': [
393 'V8_TARGET_ARCH_MIPS', 414 'V8_TARGET_ARCH_MIPS',
394 ], 415 ],
395 'conditions': [ 416 'conditions': [
396 [ 'v8_can_use_fpu_instructions=="true"', { 417 [ 'v8_can_use_fpu_instructions=="true"', {
397 'defines': [ 418 'defines': [
398 'CAN_USE_FPU_INSTRUCTIONS', 419 'CAN_USE_FPU_INSTRUCTIONS',
(...skipping 993 matching lines...) Expand 10 before | Expand all | Expand 10 after
1392 ], 1413 ],
1393 }, 1414 },
1394 'Release_x64': { 1415 'Release_x64': {
1395 'inherit_from': ['ReleaseBase'], 1416 'inherit_from': ['ReleaseBase'],
1396 }, 1417 },
1397 }], 1418 }],
1398 ], 1419 ],
1399 }, # configurations 1420 }, # configurations
1400 }, # target_defaults 1421 }, # target_defaults
1401 } 1422 }
OLDNEW
« no previous file with comments | « no previous file | src/compiler/mips/code-generator-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698