-
Notifications
You must be signed in to change notification settings - Fork 225
feat: bazel 9.0 migration #3496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
895bdad
4e03886
53ad44b
dc0fd8f
3b26b98
26fdc2b
2828725
608adbe
6bfe5b9
0154b81
2c49fb2
cff0227
b4a4be0
0dbda3e
983b423
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 8.5.1 | ||
| 9.0.0 |
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -14,11 +14,15 @@ | |||
| # limitations under the License. | ||||
| #=============================================================================== | ||||
|
|
||||
| load("@rules_cc//cc/common:cc_common.bzl", "cc_common") | ||||
| load("@rules_cc//cc:defs.bzl", "cc_toolchain") | ||||
|
||||
| load("@rules_cc//cc:defs.bzl", "cc_toolchain") |
Alexandr-Solovev marked this conversation as resolved.
Show resolved
Hide resolved
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,7 +1,15 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| package(default_visibility = ["//visibility:public"]) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| load("@rules_cc//cc:defs.bzl", "cc_library") | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| cc_library( | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| name = "opencl_binary", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| srcs = glob( | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| [ | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "*.so", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "*.so.*", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| exclude = ["*.py", "*.cmake", "*.a"], | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| allow_empty = True, | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| ), | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| linkopts = ["-lOpenCL"], | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+7
to
13
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| "*.so", | |
| "*.so.*", | |
| ], | |
| exclude = ["*.py", "*.cmake", "*.a"], | |
| allow_empty = True, | |
| ), | |
| linkopts = ["-lOpenCL"], | |
| "libOpenCL*.so", | |
| "libOpenCL*.so.*", | |
| ], | |
| allow_empty = True, | |
| ), | |
| linkopts = ["-lOpenCL"], | |
| visibility = ["//visibility:public"], | |
| ) | |
| filegroup( | |
| name = "opencl_runtime_dsos", | |
| srcs = glob( | |
| [ | |
| "*.so", | |
| "*.so.*", | |
| ], | |
| allow_empty = True, | |
| ), |
Uh oh!
There was an error while loading. Please reload this page.