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