Summary: https://our.intern.facebook.com/intern/wiki/Buck/python-to-skylark/ Differential Revision: D8595731 fbshipit-source-id: 0e3046a7fd2a25e9b13462713ae9a008ad546770
25 lines
617 B
Python
25 lines
617 B
Python
# Copyright (c) 2014-present, Facebook, Inc.
|
|
#
|
|
# This source code is licensed under the MIT license found in the
|
|
# LICENSE file in the root directory of this source tree.
|
|
load("//:yoga_defs.bzl", "subdir_glob", "yoga_cxx_binary", "yoga_dep")
|
|
|
|
yoga_cxx_binary(
|
|
name = "benchmark",
|
|
srcs = glob(["*.c"]),
|
|
headers = subdir_glob([("", "*.h")]),
|
|
header_namespace = "",
|
|
compiler_flags = [
|
|
"-fno-omit-frame-pointer",
|
|
"-fexceptions",
|
|
"-Wall",
|
|
"-Werror",
|
|
"-O3",
|
|
"-std=c11",
|
|
],
|
|
visibility = ["PUBLIC"],
|
|
deps = [
|
|
yoga_dep(":yoga"),
|
|
],
|
|
)
|