Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
S
swiftshader
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • swiftshader
  • Repository

Switch branch/tag
  • swiftshader
  • BUILD.gn
Find file
BlameHistoryPermalink
  • Antonio Maiorano's avatar
    Replace target_cpu with current_cpu in Build.gn files · 84785608
    Antonio Maiorano authored Feb 21, 2020
    A recent change was made that failed when building nacl, because despite
    the target_cpu being set to x86, current_cpu is x64 for nacl, as it is
    cross-compiled to x64 using a different toolchain. As such, we were
    building and linking the x86 version of Subzero with the x64 version of
    nacl, resulting in a linker error.
    
    See the following doc for more info:
    https://chromium.googlesource.com/dart/dartium/src/+/refs/heads/master/tools/gn/docs/cross_compiles.md#as-a-build_gn-author
    
    Bug: b/150008309
    Change-Id: I581538cb7bb090e5b30819052eb7e245bc90ab12
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/41528Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    Tested-by: 's avatarAntonio Maiorano <amaiorano@google.com>
    84785608
BUILD.gn 5.03 KB
EditWeb IDE
×

Replace BUILD.gn

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.