Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more files to shim #235

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions shim/build_defs/roar.bzl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
load("@fbsource//tools/build_defs:buckconfig.bzl", "read_bool")

def roar_no_jit():
use_roar_jit = read_bool("fbcode", "use_roar_jit", required = False)
if use_roar_jit:
return ["-fforce-no-jit"]
return []
9 changes: 9 additions & 0 deletions shim/tools/build_defs/buckconfig.bzl
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
load("@prelude//utils:buckconfig.bzl", _read = "read", _read_bool = "read_bool", _read_choice = "read_choice", _read_int = "read_int", _read_list = "read_list", _read_string = "read_string", _resolve_alias = "resolve_alias")

read = _read
read_string = _read_string
read_choice = _read_choice
read_bool = _read_bool
read_int = _read_int
read_list = _read_list
resolve_alias = _resolve_alias
Loading