Skip to content

Commit

Permalink
Added module for abi constraint values
Browse files Browse the repository at this point in the history
  • Loading branch information
UebelAndre committed Apr 1, 2022
1 parent fbd0d18 commit 3e62896
Show file tree
Hide file tree
Showing 2 changed files with 115 additions and 0 deletions.
1 change: 1 addition & 0 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ filegroup(
srcs = [
"BUILD",
"WORKSPACE",
"//abi:srcs",
"//cpu:srcs",
"//os:srcs",
],
Expand Down
114 changes: 114 additions & 0 deletions abi/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
# Standard constraint_setting and constraint_values to be used in platforms.
licenses(["notice"])

package(
default_visibility = ["//visibility:public"],
)

filegroup(
name = "srcs",
srcs = glob(["**"]),
)

# To add a new constraint_value see https://github.com/bazelbuild/platforms.
constraint_setting(name = "abi")

constraint_value(
name = "atmega328",
constraint_setting = ":abi",
)

constraint_value(
name = "eabi",
constraint_setting = ":abi",
)

constraint_value(
name = "eabihf",
constraint_setting = ":abi",
)

constraint_value(
name = "elf",
constraint_setting = ":abi",
)

constraint_value(
name = "gnu",
constraint_setting = ":abi",
)

constraint_value(
name = "gnu_ilp32",
constraint_setting = ":abi",
)

constraint_value(
name = "gnueabi",
constraint_setting = ":abi",
)

constraint_value(
name = "gnuabi64",
constraint_setting = ":abi",
)

constraint_value(
name = "gnueabihf",
constraint_setting = ":abi",
)

constraint_value(
name = "gnux32",
constraint_setting = ":abi",
)

constraint_value(
name = "linuxkernel",
constraint_setting = ":abi",
)

constraint_value(
name = "musl",
constraint_setting = ":abi",
)

constraint_value(
name = "muslabi64",
constraint_setting = ":abi",
)

constraint_value(
name = "musleabi",
constraint_setting = ":abi",
)

constraint_value(
name = "musleabihf",
constraint_setting = ":abi",
)

constraint_value(
name = "sgx",
constraint_setting = ":abi",
)

constraint_value(
name = "softfloat",
constraint_setting = ":abi",
)

constraint_value(
name = "uclibc",
constraint_setting = ":abi",
)

constraint_value(
name = "uclibceabi",
constraint_setting = ":abi",
)

constraint_value(
name = "uclibceabihf",
constraint_setting = ":abi",
)

0 comments on commit 3e62896

Please sign in to comment.