Re: PSA: Developer Beta of sdk_update available.

339 views
Skip to first unread message

David Springer

unread,
Sep 22, 2011, 10:16:47 PM9/22/11
to native-clie...@googlegroups.com
Cross-posting to native-client-announce.
Folks,

A Developer Beta version of the Native Client SDK is available via the new sdk_update utility.

There are still some rough edges to this new utility, but we thought we'd push it early so you can get the Pepper 15 APIs that support 3D development in Native Client.

To get the very latest NaCl SDK at any time, just run python sdk_update.py update.

Additional instructions:

Step 0: Make sure you have python 2.6 (or 2.7) installed.  (This is necessary while we work on a NSIS installer for Windows.)
Step 1: Download the SDK updater at: http://commondatastorage.googleapis.com/nativeclient-mirror/nacl/nacl_sdk/sdk_update.zip
Step 2: Unzip the SDK updater:
unzip sdk_update.zip  # or whatever you do to unzip a file on your platform.  On Windows, dbl-click in Explorer.
This should produce a nacl_sdk directory with sdk_update.py in it.  On Mac, if you unzip by dbl-click in Finder, you get sdk_update/nacl_sdk.
Step 3: Run the updater “list” command to see the list of available bundles:
cd nacl_sdk
python sdk_update.py list
# You should see this output:
Available bundles:
 sdk_tools
   description: Native Client SDK Tools, revision 1.4
   stability: stable
   recommended: yes
   version: 1
   revision: 4
 pepper_14
   description: Chrome 14 bundle, revision 1052
   stability: stable
   recommended: yes
   version: 14
   revision: 1052
 pepper_15
   description: Chrome 15 bundle, revision 1199
   stability: dev
   recommended: no
   version: 15
   revision: 1199
Step 4: Run the updater “update” command to download and install the available bundles:
python sdk_update.py update
You should see this output:
Updating bundle sdk_tools to version 1, revision 4
Updating bundle pepper_14 to version 14, revision 1052
Updating bundle pepper_15 to version 15, revision 1199

Note that the toolchain for Mac & Linux is around 150Mb so the download can take a while, even on a fast internet connection.
Step 5: Run the updater “list” command again; this will show you the list of available bundles and verify the bundles that are installed:
python sdk_update.py list
Available bundles:
 sdk_tools
   description: Native Client SDK Tools, revision 1.3
   stability: stable
   recommended: yes
   version: 1
   revision: 3
 pepper_14
   description: Chrome 14 bundle, revision 1052
   stability: stable
   recommended: yes
   version: 14
   revision: 1052
 pepper_15
   description: Chrome 15 bundle, revision 1199
   stability: dev
   recommended: no
   version: 15
   revision: 1199
Currently installed bundles:
 sdk_tools
   description: Native Client SDK Tools, revision 1.3
   stability: stable
   recommended: yes
   version: 1
   revision: 3
 pepper_14
   description: Chrome 14 bundle, revision 1052
   stability: stable
   recommended: yes
   version: 14
   revision: 1052
 pepper_15
   description: Chrome 15 bundle, revision 1199
   stability: dev
   recommended: no
   version: 15
   revision: 1199
Step 5: Running the updater “update” command again will either show you that bundles are up-to-date, or download and install the most recent bundle versions.
python sdk_update.py update
Skipping bundle sdk_tools because directory already exists and is up-to-date.
Use --force option to force overwriting existing directory
Skipping bundle pepper_14 because directory already exists and is up-to-date.
Use --force option to force overwriting existing directory
Skipping bundle pepper_15 because directory already exists and is up-to-date.
Use --force option to force overwriting existing directory

Reply all
Reply to author
Forward
0 new messages