From ed7ef74386b18fca6cf876a6740888d76298cee0 Mon Sep 17 00:00:00 2001 From: kuanzeren Date: Sat, 15 May 2021 17:50:09 +0800 Subject: [PATCH] add BUILD file for bazel build system --- .gitignore | 1 + BUILD.bazel | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 BUILD.bazel diff --git a/.gitignore b/.gitignore index d2c603b2..173649fa 100644 --- a/.gitignore +++ b/.gitignore @@ -10,5 +10,6 @@ libsimdpp.files # Misc files created during local development *~ build* +!BUILD.bazel venv pywiki diff --git a/BUILD.bazel b/BUILD.bazel new file mode 100644 index 00000000..249e7a79 --- /dev/null +++ b/BUILD.bazel @@ -0,0 +1,13 @@ +load("@rules_cc//cc:defs.bzl", "cc_library") + +cc_library( + name = "simdpp", + srcs = glob([ + "simdpp/**/*.h", + "simdpp/**/*.hpp", + "simdpp/**/*.inl", + ]), + hdrs = ["simdpp/simd.h"], + includes = ["./"], + visibility = ["//visibility:public"], +)