view dowa/BUILD @ 275:78699f810817

Add Qwen3-VL and WebRTC dictation services Add Bazel targets for the CUDA-backed Qwen3-VL server and a local WebRTC faster-whisper dictation service. Co-authored-by: Copilot <[email protected]> Copilot-Session: e3d8cb06-6c95-4ae0-9757-651d3796ab00
author MrJuneJune <me@mrjunejune.com>
date Mon, 17 Aug 2026 10:58:47 -0700
parents f3084bca7317
children
line wrap: on
line source

load("@rules_cc//cc:cc_library.bzl", "cc_library")
load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
load("@rules_cc//cc:cc_test.bzl", "cc_test")

cc_library(
    name = "stb_ds",
    hdrs = ["stb_ds.h"],
    visibility = ["//visibility:public"],
)

cc_library(
  name = "dowa",
  srcs = [
    "d_string.c",
    "d_memory.c",
    "d_math.c",
  ],
  hdrs = [
    "dowa.h",
    "dowa_internal.h",
  ],
  visibility = ["//visibility:public"],
)

cc_test(
  name = "dowa_test",
  srcs = ["dowa_test.c"],
  deps = [":dowa"],
  args = [],
  data = glob([
      "test_folder/**",
  ]),
  copts = select({
    "@platforms//os:osx": ["-fsanitize=address", "-g"],
    "@platforms//os:linux": ["-g", "-Wall"],
  }),
  linkopts = select({
    "@platforms//os:osx": ["-fsanitize=address"],
    "@platforms//os:linux": [],
  }),
)