Created
June 22, 2022 03:44
-
-
Save rockwotj/aa453c0c8bf9c697eb027619b58d6652 to your computer and use it in GitHub Desktop.
BUILD.bazel for Mimalloc to use in cc_binary(malloc = ...)
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
cc_library( | |
name = "mimalloc", | |
srcs = ["src/static.c"], | |
textual_hdrs = glob(["src/*.c", "src/*.h"], exclude = ["src/static.c"]), | |
hdrs = glob(["include/*.h"]), | |
includes = ["include"], | |
copts = ["-DMI_MALLOC_OVERRIDE"], | |
visibility = ["//visibility:public"], | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment