Skip to content

onelxj/bazel-rules-libuv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bazel build rules for libuv

Follows a "repos/deps" pattern (in order to help with recursive dependencies). To use:

  1. Copy bazel/repos.bzl into your repository at 3rdparty/bazel-rules-libuv/repos.bzl and add an empty BUILD (or BUILD.bazel) to 3rdparty/bazel-rules-libuv as well.

  2. Copy all of the directories from 3rdparty that you don't already have in your repository's 3rdparty directory.

  3. Either ... add the following to your WORKSPACE (or WORKSPACE.bazel):

load("//3rdparty/bazel-rules-libuv:repos.bzl", libuv_repos="repos")
libuv_repos()

load("@com_github_3rdparty_bazel_rules_libuv//bazel:deps.bzl", libuv_deps="deps")
libuv_deps()

Or ... to simplify others depending on your repository, add the following to your repos.bzl:

load("//3rdparty/bazel-rules-libuv:repos.bzl", libuv="repos")

def repos():
    libuv()

And the following to your deps.bzl:

load("@com_github_3rdparty_bazel_rules_libuv//bazel:deps.bzl", libuv="deps")

def deps():
    libuv()
  1. You can then use @com_github_libuv_libuv//:libuv in your target's deps.

  2. Repeat the steps starting at (1) at the desired version of this repository that you want to use:

libuv Copy bazel/repos.bzl from:
1.42.0 c672b03

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Starlark 100.0%