Last active
July 11, 2017 16:39
-
-
Save byronyi/10ad69ee39b688ec58f30857d513b76e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package(default_visibility = ["//visibility:public"]) | |
licenses(["notice"]) # OpenIB.org BSD license (MIT variant) | |
exports_files(["COPYING"]) | |
cc_library( | |
name = "ibverbs", | |
hdrs = [ | |
"include/infiniband/sa.h", | |
"include/infiniband/verbs.h", | |
], | |
defines = [ | |
"_GNU_SOURCE", | |
"NRESOLVE_NEIGH=1", | |
"STREAM_CLOEXEC=\\\"e\\\"", | |
"IBV_CONFIG_DIR=\\\"/etc/libibverbs.d\\\"", | |
], | |
srcs = [ | |
"src/cmd.c", | |
"src/compat-1_0.c", | |
"src/device.c", | |
"src/enum_strs.c", | |
"src/ibverbs.h", | |
"src/init.c", | |
"src/marshall.c", | |
"src/memory.c", | |
"src/sysfs.c", | |
"src/verbs.c", | |
], | |
includes = ["include"], | |
include_prefix = "infiniband", | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment