mirror of https://github.com/google/gemma.cpp.git
23 lines
492 B
Python
23 lines
492 B
Python
load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
|
|
|
|
# Hello World example frontend to gemma.cpp.
|
|
package(
|
|
default_applicable_licenses = [
|
|
"//:license", # Placeholder comment, do not modify
|
|
],
|
|
default_visibility = ["//visibility:public"],
|
|
)
|
|
|
|
cc_binary(
|
|
name = "hello_world",
|
|
srcs = ["run.cc"],
|
|
deps = [
|
|
"//:args",
|
|
"//:gemma_args",
|
|
"//:gemma_lib",
|
|
"//:threading_context",
|
|
"//:tokenizer",
|
|
"@highway//:hwy",
|
|
],
|
|
)
|