Austin Schuh | d94fb23 | 2018-01-28 17:09:21 -0800 | [diff] [blame] | 1 | licenses(["notice"]) # lgpl |
| 2 | |
| 3 | cc_library( |
| 4 | name = "hpipm", |
| 5 | includes = [ "include" ], |
| 6 | hdrs = [ |
| 7 | "include/hpipm_s_core_qp_ipm_hard.h", |
| 8 | "include/hpipm_d_dense_qp.h", |
| 9 | "include/hpipm_s_ocp_qp.h", |
| 10 | "include/hpipm_s_ocp_qp_sol.h", |
| 11 | "include/hpipm_d_ocp_qp.h", |
| 12 | "include/hpipm_d_ocp_qp_sol.h", |
| 13 | "include/hpipm_s_dense_qp.h", |
| 14 | "include/hpipm_d_ocp_qp_ipm_hard.h", |
| 15 | "include/hpipm_s_dense_qp_sol.h", |
| 16 | "include/hpipm_s_dense_qp_ipm_hard.h", |
| 17 | "include/hpipm_s_core_qp_ipm_hard_aux.h", |
| 18 | "include/hpipm_s_dense_qp_kkt.h", |
| 19 | "include/hpipm_m_ocp_qp_ipm_hard.h", |
| 20 | "include/hpipm_d_core_qp_ipm_hard.h", |
| 21 | "include/hpipm_d_core_qp_ipm_hard_aux.h", |
| 22 | "include/hpipm_d_dense_qp_sol.h", |
| 23 | "include/hpipm_d_ocp_qp_kkt.h", |
| 24 | "include/hpipm_d_cond.h", |
| 25 | "include/hpipm_m_ocp_qp_kkt.h", |
| 26 | "include/hpipm_d_cond_aux.h", |
| 27 | "include/hpipm_s_ocp_qp_ipm_hard.h", |
| 28 | "include/hpipm_s_ocp_qp_kkt.h", |
| 29 | "include/hpipm_d_dense_qp_ipm_hard.h", |
| 30 | "include/hpipm_d_dense_qp_kkt.h", |
| 31 | ], |
| 32 | srcs = [ |
| 33 | # dense qp |
| 34 | "dense_qp/d_dense_qp.c", |
| 35 | "dense_qp/d_dense_qp_sol.c", |
| 36 | "dense_qp/d_dense_qp_kkt.c", |
| 37 | "dense_qp/d_dense_qp_ipm_hard.c", |
| 38 | "dense_qp/s_dense_qp.c", |
| 39 | "dense_qp/s_dense_qp_sol.c", |
| 40 | "dense_qp/s_dense_qp_kkt.c", |
| 41 | "dense_qp/s_dense_qp_ipm_hard.c", |
| 42 | # ocp qp |
| 43 | "ocp_qp/d_ocp_qp.c", |
| 44 | "ocp_qp/d_ocp_qp_sol.c", |
| 45 | "ocp_qp/d_ocp_qp_kkt.c", |
| 46 | "ocp_qp/d_ocp_qp_ipm_hard.c", |
| 47 | "ocp_qp/s_ocp_qp.c", |
| 48 | "ocp_qp/s_ocp_qp_sol.c", |
| 49 | "ocp_qp/s_ocp_qp_kkt.c", |
| 50 | "ocp_qp/s_ocp_qp_ipm_hard.c", |
| 51 | "ocp_qp/m_ocp_qp.c", |
| 52 | "ocp_qp/m_ocp_qp_kkt.c", |
| 53 | "ocp_qp/m_ocp_qp_ipm_hard.c", |
| 54 | # core qp |
| 55 | "core_qp/d_core_qp_ipm_hard_aux.c", |
| 56 | "core_qp/d_core_qp_ipm_hard.c", |
| 57 | "core_qp/s_core_qp_ipm_hard_aux.c", |
| 58 | "core_qp/s_core_qp_ipm_hard.c", |
| 59 | # cond |
| 60 | "cond/d_cond_aux.c", |
| 61 | "cond/d_cond.c", |
| 62 | "cond/d_part_cond.c", |
| 63 | ], |
| 64 | textual_hdrs = [ |
| 65 | "ocp_qp/x_ocp_qp_sol.c", |
| 66 | "dense_qp/x_dense_qp.c", |
| 67 | "dense_qp/x_dense_qp_ipm_hard.c", |
| 68 | "core_qp/x_core_qp_ipm_hard_aux.c", |
| 69 | "core_qp/x_core_qp_ipm_hard.c", |
| 70 | "dense_qp/x_dense_qp_sol.c", |
| 71 | "ocp_qp/x_ocp_qp_ipm_hard.c", |
| 72 | "ocp_qp/x_ocp_qp.c", |
| 73 | "ocp_qp/x_ocp_qp_kkt.c", |
| 74 | "dense_qp/x_dense_qp_kkt.c", |
| 75 | ], |
| 76 | deps = [ |
| 77 | "//third_party/blasfeo", |
| 78 | ], |
| 79 | copts = [ |
| 80 | "-Wno-pointer-arith", |
| 81 | "-Wno-unused-variable", |
| 82 | "-Wno-unused-parameter", |
| 83 | ], |
| 84 | visibility = ["//visibility:public"], |
| 85 | restricted_to = ["//tools:k8"], |
| 86 | ) |