blob: 26d0f8c7a834bce3463c7d556962a9a9c2bcb054 [file] [log] [blame]
Austin Schuh55139fe2015-10-14 23:55:24 -07001package(default_visibility = ['//visibility:public'])
2
Austin Schuh4f857292018-02-15 23:42:04 -08003load('//tools/build_rules:select.bzl', 'cpu_select')
Austin Schuh55139fe2015-10-14 23:55:24 -07004
5[ cc_library(
6 name = libname,
7 deps = cpu_select({
Brian Silverman826e1cd2016-01-31 18:26:00 -05008 "roborio": ['@arm_frc_linux_gnueabi_repo//:' + libname],
Brian Silvermanc6400612015-11-29 05:59:53 +00009 "amd64": ['@usr_repo//:' + libname],
Austin Schuh61660832016-03-04 21:56:39 -080010 "armhf": ['@linaro_linux_gcc_4_9_repo//:' + libname],
Austin Schuh55139fe2015-10-14 23:55:24 -070011 }),
12) for libname in ['libpthread', 'libm', 'libdl', 'librt']]