Notices: This section not yet converted to new layout. Download stats are rolling back out.

This is a prerelease version of bazel (Install).

bazel (Install)

0.5.4-rc3

Package test results are passing.

This package was approved as a trusted package on 8/14/2017.

Build software of any size, quickly and reliably, just as engineers do at Google.

Bazel is Google's own build tool, now publicly available in Beta.

Bazel has built-in support for building both client and server software, including client applications for both Android and iOS platforms. It also provides an extensible framework that you can use to develop your own build rules.

Package parameters

Supply like --params="/option:'value' ..." (see docs for --params)

  • msys2Path (optional, defaults to c:\tools\msys64) - override this if msys2 is installed elsewhere.

To install bazel (Install), run the following command from the command line or from PowerShell:

C:\> choco install bazel --pre

To upgrade bazel (Install), run the following command from the command line or from PowerShell:

C:\> choco upgrade bazel --pre

Files

Hide
  • tools\chocolateybeforemodify.ps1 Show
    write-host "Attempting to stop any running bazel processes, to allow upgrade"
    try
    {
      $running = get-process bazel
    }
    catch
    {
      write-host "No running bazel processes to stop"
      $running = @()
    }
    
    if ($running)
    {
      write-host "Stopping bazel processes"
      foreach($p in $running)
      {
        stop-process $p
        write-verbose "Stopped $($p.ProcessName) $($p.Id)"
      }
    }
    
  • tools\chocolateyinstall.ps1 Show
    $ErrorActionPreference = 'Stop'; # stop on all errors
    $packageName = 'bazel'
    
    $toolsDir = Split-Path -parent $MyInvocation.MyCommand.Definition
    $raw = get-content "$($toolsDir)\params.txt" | out-string
    write-host "Content of $($toolsDir)\params.txt:"
    write-host $raw
    $params = $raw -split "`n"
    write-host "url:  $($params[0].Trim())"
    write-host "hash: $($params[1].Trim())"
    
    $packageDir = Split-Path -parent $toolsDir
    
    Install-ChocolateyZipPackage -PackageName "$packageName" `
      -Url64bit "$($params[0].Trim())" `
      -Checksum64 "$($params[1].Trim())" `
      -ChecksumType64 "sha256" `
      -UnzipLocation "$packageDir"
    
    write-host @"
    bazel installed to $packageDir
    
    You also need, in your environment variables (adjust paths for your system):
      BAZEL_SH=c:\tools\msys64\usr\bin\bash.exe
      BAZEL_PYTHON=c:\tools\python2\python.exe
    
    See also https://bazel.build/docs/windows.html
    "@
    
    
  • tools\LICENSE
  • tools\params.txt Show
    https://releases.bazel.build/0.5.4/rc3/bazel-0.5.4rc3-windows-x86_64.zip
    a012bf9bce562a99a13e6e3b9d6f0073cf6b88d9191615efa1b6a916eccbd253
    
  • tools\VERIFICATION.txt Show
    VERIFICATION
    Verification is intended to assist the Chocolatey moderators and community
    in verifying that this package's contents are trustworthy.
    
    Download the zip file from github releases
    Take its sha256
    If it matches what is in package's chocolateyinstall.ps1, it's authentic.
    
    Example:
    
    ```
    invoke-webrequest https://github.com/bazelbuild/bazel/releases/0.3.1/bazel_0.3.1_windows_x86_64.zip -outfile bazel_0.3.1_windows_x86_64.zip
    get-filehash bazel_0.3.1_windows_x86_64.zip -algorithm sha256
    # compare that to what's in <package>/tools/chocolateyinstall.ps1
    ```
    
    See also package build script `<repo>/scripts/packages/chocolatey/buildAndInstall.ps1`.
    

Virus Scan Results

No results available for this package. We are building up results for older packages over time so expect to see results. If this is a new package, it should have results within a day or two.

Dependencies

Maintainer(s)

Software Author(s)

  • The Bazel Authors

Copyright

Copyright 2016 The Bazel Authors. All rights reserved.

Tags

Release Notes

https://releases.bazel.build/0.5.4/rc3/index.html

Version History

Version Downloads Last updated Status
bazel (Install) 0.5.4-rc3 7 Monday, August 14, 2017 approved
bazel (Install) 0.5.4-rc2 8 Tuesday, August 8, 2017 approved
bazel (Install) 0.5.4-rc1 17 Tuesday, August 1, 2017 approved
bazel (Install) 0.5.3-rc4 14 Wednesday, July 26, 2017 approved
bazel (Install) 0.5.3-rc2 21 Wednesday, July 19, 2017 approved
bazel (Install) 0.5.2 1447 Tuesday, June 27, 2017 approved
bazel (Install) 0.5.2-rc4 23 Thursday, June 22, 2017 approved
bazel (Install) 0.5.2-rc3 14 Thursday, June 22, 2017 approved
bazel (Install) 0.5.2-rc2 32 Tuesday, June 13, 2017 approved
Show More

Discussion for the bazel (Install) Package

Ground rules:

  • This discussion is only about bazel (Install) and the bazel (Install) package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or bazel (Install), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus