Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
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
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
swiftshader
Commits
bb9d11a5
Commit
bb9d11a5
authored
Jun 03, 2015
by
Jim Stichnoth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Subzero: Change pnacl_newlib ==> pnacl_newlib_raw in scripts.
BUG= none R=jvoung@chromium.org, kschimpf@google.com Review URL:
https://codereview.chromium.org/1162903003
parent
befd03ab
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
build-pnacl-ir.py
pydir/build-pnacl-ir.py
+1
-1
crosstest.py
pydir/crosstest.py
+1
-1
szbuild.py
pydir/szbuild.py
+6
-5
No files found.
pydir/build-pnacl-ir.py
View file @
bb9d11a5
...
...
@@ -20,7 +20,7 @@ if __name__ == '__main__':
nacl_root
=
FindBaseNaCl
()
# Prepend bin to $PATH.
os
.
environ
[
'PATH'
]
=
(
nacl_root
+
'/toolchain/linux_x86/pnacl_newlib/bin'
+
os
.
pathsep
+
nacl_root
+
'/toolchain/linux_x86/pnacl_newlib
_raw
/bin'
+
os
.
pathsep
+
os
.
pathsep
+
os
.
environ
[
'PATH'
])
try
:
...
...
pydir/crosstest.py
View file @
bb9d11a5
...
...
@@ -72,7 +72,7 @@ def main():
args
=
argparser
.
parse_args
()
nacl_root
=
FindBaseNaCl
()
bindir
=
(
'{root}/toolchain/linux_x86/pnacl_newlib/bin'
bindir
=
(
'{root}/toolchain/linux_x86/pnacl_newlib
_raw
/bin'
.
format
(
root
=
nacl_root
))
triple
=
arch_map
[
args
.
target
]
+
(
'-nacl'
if
args
.
sandbox
else
''
)
mypath
=
os
.
path
.
abspath
(
os
.
path
.
dirname
(
sys
.
argv
[
0
]))
...
...
pydir/szbuild.py
View file @
bb9d11a5
...
...
@@ -131,7 +131,7 @@ def main():
to these tools, copy them this way:
cd native_client
toolchain_build/toolchain_build_pnacl.py llvm_x86_64_linux
\\
--install=toolchain/linux_x86/pnacl_newlib
--install=toolchain/linux_x86/pnacl_newlib
_raw
"""
argparser
=
argparse
.
ArgumentParser
(
description
=
' '
+
main
.
__doc__
,
...
...
@@ -153,7 +153,7 @@ def ProcessPexe(args, pexe, exe):
nacl_root
=
FindBaseNaCl
()
path_addition
=
(
'{root}/toolchain/linux_x86/pnacl_newlib/bin'
'{root}/toolchain/linux_x86/pnacl_newlib
_raw
/bin'
)
.
format
(
root
=
nacl_root
)
os
.
environ
[
'PATH'
]
=
(
'{dir}{sep}{path}'
...
...
@@ -286,7 +286,7 @@ def ProcessPexe(args, pexe, exe):
'{root}/../third_party/llvm-build/Release+Asserts/bin/clang'
)
.
format
(
root
=
nacl_root
)
if
args
.
sandbox
:
linklib
=
(
'{root}/toolchain/linux_x86/pnacl_newlib/translator/'
+
linklib
=
(
'{root}/toolchain/linux_x86/pnacl_newlib
_raw
/translator/'
+
'x86-32/lib'
)
.
format
(
root
=
nacl_root
)
shellcmd
((
'{gold} -nostdlib --no-fix-cortex-a8 --eh-frame-hdr -z text '
+
...
...
@@ -307,8 +307,9 @@ def ProcessPexe(args, pexe, exe):
'{ld} -m32 {partial} -o {exe} '
+
# Keep the rest of this command line (except szrt_native_x8632.o) in
# sync with RunHostLD() in pnacl-translate.py.
'{root}/toolchain/linux_x86/pnacl_newlib/translator/x86-32-linux/'
+
'lib/{{unsandboxed_irt,irt_random,irt_query_list}}.o '
+
'{root}/toolchain/linux_x86/pnacl_newlib_raw/translator/'
+
'x86-32-linux/lib/'
+
'{{unsandboxed_irt,irt_random,irt_query_list}}.o '
+
'{root}/toolchain_build/src/subzero/build/runtime/'
+
'szrt_native_x8632.o -lpthread -lrt '
+
'-Wl,--defsym=__Sz_AbsoluteZero=0'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment