diff options
author | jfb@chromium.org <jfb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-26 15:00:19 +0000 |
---|---|---|
committer | jfb@chromium.org <jfb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-26 15:00:19 +0000 |
commit | d7aa808b52f169624384ff06895a2baf0a4784e5 (patch) | |
tree | 7df9277ddfaff6b42593ab2c98847dfab1584ff0 /native_client_sdk | |
parent | 6c177f5cda18d8221e6112d0f0a6a24efec938f7 (diff) | |
download | chromium_src-d7aa808b52f169624384ff06895a2baf0a4784e5.zip chromium_src-d7aa808b52f169624384ff06895a2baf0a4784e5.tar.gz chromium_src-d7aa808b52f169624384ff06895a2baf0a4784e5.tar.bz2 |
NaCl SDK: don't prune PNaCl biased bitcode from the NaCl SDK build.
Some NaCl users want to use the PNaCl toolchain to build native NaCl
applications that use C++11 and compiler intrinsics. This currently
isn't feasible with the GCC toolchain, and PNaCl doesn't currently offer
all the intrinsics these users want (effectively non-portable inline
assembly). For such a build to work users need libraries that are built
with bitcode biased for their architecture: the front-end knows that it
will target x86-32/x86-64/ARM/MIPS up front and compiles the code
accordingly (e.g. with SSE or NEON support, with certain function
signatures and calling-conventions that follow the platforms'
convention).
This CL increases the size of the NaCl SDK.
The NaCl-side of this CL (building more biased bitcode) is:
https://codereview.chromium.org/164553005
R= binji@chromium.org, sbc@chromium.org, noelallen@chromium.org, jvoung@chromium.org
TEST=none
BUG=none
Review URL: https://codereview.chromium.org/176923005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253456 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'native_client_sdk')
-rwxr-xr-x | native_client_sdk/src/build_tools/build_sdk.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/native_client_sdk/src/build_tools/build_sdk.py b/native_client_sdk/src/build_tools/build_sdk.py index be5098e..b567d91 100755 --- a/native_client_sdk/src/build_tools/build_sdk.py +++ b/native_client_sdk/src/build_tools/build_sdk.py @@ -197,18 +197,6 @@ def BuildStepCopyTextFiles(pepperdir, pepper_ver, chrome_revision, open(os.path.join(pepperdir, 'README'), 'w').write(readme_text) -def PrunePNaClToolchain(root): - dirs_to_prune = [ - 'lib-bc-x86-64', - 'usr-bc-x86-64' - # TODO(sbc): remove this once its really not needed. - # Currently we seem to rely on it at least for <bits/stat.h> - #'sysroot', - ] - for dirname in dirs_to_prune: - buildbot_common.RemoveDir(os.path.join(root, dirname)) - - def BuildStepUntarToolchains(pepperdir, toolchains): buildbot_common.BuildStep('Untar Toolchains') platform = getos.GetPlatform() @@ -271,7 +259,6 @@ def BuildStepUntarToolchains(pepperdir, toolchains): # Then rename/move it to the pepper toolchain directory pnacldir = os.path.join(pepperdir, 'toolchain', tcname) buildbot_common.Move(tmpdir, pnacldir) - PrunePNaClToolchain(pnacldir) buildbot_common.RemoveDir(tmpdir) |