Skip to content

danielmachlab/bzlmod_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This WIP repo is a demo of how bzlmod works.

Try it out

bzlmod works in Bazel >5.0, which there is not official release for yet. bzlmod is still in development, but we can use a pre-release of Bazel v5.0 to start using it.

  1. Download bazelisk (brew install bazelisk)
  2. Run bazel --version to verify you are using the Bazel version specified in the .bazeliskrc file
  3. Run bazel build src:hello-world to build a simple C++ project the depends on zlib fetched by bzlmod

Important links

External Deps Google Doc

bzlmod user guide

Bazel Central Registry

Note

I have a problem locally where I have to run unset JAVA_HOME before this demo works. I haven't dedicated enough time to finish figuring out what my problem is.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors