[roll third_party/pigweed] pw_env_setup: Detect unsupported platforms

Detect OS/arch strings like "linux-amd64" that aren't supported by the
core CIPD executable and skip CIPD setup in that case, assuming the user
has already installed the correct versions of tools.

Example output when "linux-amd64" was removed from the list of supported
platforms. (I do not have the right versions of all the tools installed
on my system.)

Downloading and installing packages into local source directory:

  Setting up CIPD package manager...skipped
    UnsupportedPlatform('linux-amd64',)
    abandoning CIPD setup
  Setting up Python environment.....[|]
gn.py: Could not find checkout in any parent of the current path.
...

Original-Fixed: 349
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/39140

third_party/pigweed Rolled-Commits: 5c26ecfdad33664..a1cb66309e3542c
Roller-URL: https://ci.chromium.org/b/8851942903555880576
Cq-Cl-Tag: roller-builder:pigweed-experimental-roller
Cq-Cl-Tag: roller-bid:8851942903555880576
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: Ibabb4798405b1ef1bb7b22ed3cc1f883feb202a8
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/39162
Reviewed-by: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>
Commit-Queue: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>
1 file changed
tree: c13e835dfec0e77acd79a28cd5fc9feb06b78cef
  1. applications/
  2. build_overrides/
  3. pw_board_led/
  4. pw_board_led_arduino/
  5. pw_board_led_host/
  6. pw_board_led_stm32f429i_disc1/
  7. pw_console/
  8. pw_spin_delay/
  9. pw_spin_delay_arduino/
  10. pw_spin_delay_host/
  11. pw_spin_delay_stm32f429i_disc1/
  12. targets/
  13. third_party/
  14. tools/
  15. .gitattributes
  16. .gitignore
  17. .gitmodules
  18. .gn
  19. activate.bat
  20. banner.txt
  21. bootstrap.bat
  22. bootstrap.sh
  23. BUILD.gn
  24. BUILDCONFIG.gn
  25. navbar.md
  26. PW_PLUGINS
  27. README.md
README.md

Pigweed Experimental

This repository contains experimental pigweed modules.

Repository setup

Clone this repo with --recursive to get all required submodules.

git clone --recursive https://pigweed.googlesource.com/pigweed/experimental

This will pull the Pigweed source repository into third_party/pigweed. If you already cloned but forgot to --recursive run git submodule update --init to pull all submodules.