@@ -57,7 +57,7 @@ local_repository(
57
57
git_repository (
58
58
name = "columngenerationsolver" ,
59
59
remote = "https://github.com/fontanf/columngenerationsolver.git" ,
60
- commit = "7f8701fd56d642fb5939560e82de48e0816a879e " ,
60
+ commit = "8e79ac66ba7c9e24f75f27822f59cb2c0555f35d " ,
61
61
)
62
62
63
63
local_repository (
@@ -77,76 +77,93 @@ local_repository(
77
77
)
78
78
79
79
http_archive (
80
- name = "coinor_linux " ,
81
- urls = ["https://github.com/coin-or/Cbc /releases/download/releases%2F2.10.10/Cbc -releases.2.10.10 -x86_64-ubuntu20-gcc940-static.tar.gz" ],
82
- sha256 = "872c78bfcdd1566f134d2f7757b76b2a2479a5b1ade065cdd1d4b303ed6f8006 " ,
80
+ name = "osi_linux " ,
81
+ urls = ["https://github.com/coin-or/Osi /releases/download/releases%2F0.108.8/Osi -releases.0.108.8 -x86_64-ubuntu20-gcc940-static.tar.gz" ],
82
+ sha256 = "bd5a5bf1e6b6a28d13d41ab1554becd9f3992afe775785e51a88c9405cf2853e " ,
83
83
build_file_content = """
84
84
cc_library(
85
85
name = "osi",
86
86
hdrs = glob(["include/coin/Osi*.h*"], exclude_directories = 0),
87
87
strip_include_prefix = "include/coin/",
88
+ srcs = ["lib/libOsi.a", "lib/libOsiCommonTests.a"],
88
89
visibility = ["//visibility:public"],
89
90
)
90
- cc_library(
91
- name = "coinutils",
92
- hdrs = glob(["include/coin/Coin*.h*"], exclude_directories = 0),
93
- strip_include_prefix = "include/coin/",
94
- srcs = ["lib/libCoinUtils.a"],
95
- linkopts = ["-llapack", "-lblas", "-lbz2", "-lz"],
96
- visibility = ["//visibility:public"],
97
- )
98
- cc_library(
99
- name = "clp",
100
- hdrs = glob(["include/coin/Clp*.h*"], exclude_directories = 0),
101
- strip_include_prefix = "include/coin",
102
- srcs = ["lib/libClp.a"],
103
- deps = [":coinutils", ":osi"],
104
- visibility = ["//visibility:public"],
91
+ """ ,
105
92
)
93
+
94
+ http_archive (
95
+ name = "osi_windows" ,
96
+ urls = ["https://github.com/coin-or/Osi/releases/download/releases%2F0.108.8/Osi-releases.0.108.8-w64-msvc16-md.zip" ],
97
+ sha256 = "a61fc462cb598139d205cd2323522581a01900575d0d6bccf660b6c7e1b0b71c" ,
98
+ build_file_content = """
106
99
cc_library(
107
- name = "cbc",
108
- hdrs = glob(["include/coin/Cbc*.h*"], exclude_directories = 0),
109
- strip_include_prefix = "include/coin",
110
- srcs = ["lib/libCbc.a", "lib/libOsiCbc.a"],
111
- deps = [":coinutils", ":osi", ":clp"],
100
+ name = "osi",
101
+ hdrs = glob(["include/coin/Osi*.h*"], exclude_directories = 0),
102
+ strip_include_prefix = "include/coin/",
112
103
visibility = ["//visibility:public"],
104
+ srcs = ["lib/libOsi.lib", "lib/libOsiCommonTests.lib"],
113
105
)
114
106
""" ,
115
107
)
116
108
117
109
http_archive (
118
- name = "coinor_windows " ,
119
- urls = ["https://github.com/coin-or/Cbc /releases/download/releases%2F2.10.10/Cbc -releases.2.10.10-w64-msvc16-md.zip " ],
120
- sha256 = "94a951904eb80c2f351785fc9340216e88970a716634bc1ccd8b4fc5024af37c " ,
110
+ name = "coinutils_linux " ,
111
+ urls = ["https://github.com/coin-or/CoinUtils /releases/download/releases%2F2.11.9/CoinUtils -releases.2.11.9-x86_64-ubuntu20-gcc940-static.tar.gz " ],
112
+ sha256 = "872c78bfcdd1566f134d2f7757b76b2a2479a5b1ade065cdd1d4b303ed6f8006 " ,
121
113
build_file_content = """
122
114
cc_library(
123
- name = "osi ",
124
- hdrs = glob(["include/coin/Osi *.h*"], exclude_directories = 0),
115
+ name = "coinutils ",
116
+ hdrs = glob(["include/coin/Coin *.h*"], exclude_directories = 0),
125
117
strip_include_prefix = "include/coin/",
118
+ srcs = ["lib/libCoinUtils.a"],
119
+ linkopts = ["-llapack", "-lblas", "-lbz2", "-lz"],
126
120
visibility = ["//visibility:public"],
127
- srcs = ["lib/libOsi.lib", "lib/libOsiCommonTests.lib"],
128
121
)
122
+ """ ,
123
+ )
124
+
125
+ http_archive (
126
+ name = "coinutils_windows" ,
127
+ urls = ["https://github.com/coin-or/CoinUtils/releases/download/releases%2F2.11.9/CoinUtils-releases.2.11.9-w64-msvc16-md.zip" ],
128
+ sha256 = "2bc64f0afd80113571697e949b2663e9047272decf90d5f62e452c2628d33ca6" ,
129
+ build_file_content = """
129
130
cc_library(
130
131
name = "coinutils",
131
132
hdrs = glob(["include/coin/Coin*.h*"], exclude_directories = 0),
132
133
strip_include_prefix = "include/coin/",
133
134
srcs = ["lib/libCoinUtils.lib"],
134
135
visibility = ["//visibility:public"],
135
136
)
137
+ """ ,
138
+ )
139
+
140
+ http_archive (
141
+ name = "clp_linux" ,
142
+ urls = ["https://github.com/coin-or/Clp/releases/download/releases%2F1.17.8/Clp-releases.1.17.8-x86_64-ubuntu20-gcc940-static.tar.gz" ],
143
+ sha256 = "d569b04d19c25876e55d2557a1d9739df8eb50ec8ca11a98ad387fd8b90212c9" ,
144
+ build_file_content = """
136
145
cc_library(
137
146
name = "clp",
138
- hdrs = glob(["include/coin/Clp*.h*"], exclude_directories = 0),
147
+ hdrs = glob(["include/coin/* Clp*.h*"], exclude_directories = 0),
139
148
strip_include_prefix = "include/coin",
140
- srcs = ["lib/libClp.lib ", "lib/libOsiClp.lib "],
141
- deps = [":coinutils ", ":osi "],
149
+ srcs = ["lib/libClp.a ", "lib/libOsiClp.a "],
150
+ deps = ["@osi_linux//:osi ", "@coinutils_linux//:coinutils "],
142
151
visibility = ["//visibility:public"],
143
152
)
153
+ """ ,
154
+ )
155
+
156
+ http_archive (
157
+ name = "clp_windows" ,
158
+ urls = ["https://github.com/coin-or/Clp/releases/download/releases%2F1.17.8/Clp-releases.1.17.8-w64-msvc16-md.zip" ],
159
+ sha256 = "e37c834aea5c31dfd8620b7d2432cb31fc16ecb0c6ffb398e8f07c9c82dd5028" ,
160
+ build_file_content = """
144
161
cc_library(
145
- name = "cbc ",
146
- hdrs = glob(["include/coin/Cbc *.h*"], exclude_directories = 0),
162
+ name = "clp ",
163
+ hdrs = glob(["include/coin/*Clp *.h*"], exclude_directories = 0),
147
164
strip_include_prefix = "include/coin",
148
- srcs = ["lib/libCbc .lib", "lib/libOsiCbc.lib", "lib/libCgl .lib"],
149
- deps = [":coinutils", ": osi", ":clp "],
165
+ srcs = ["lib/libClp .lib", "lib/libOsiClp .lib"],
166
+ deps = ["@osi_windows//: osi", "@coinutils_windows//:coinutils "],
150
167
visibility = ["//visibility:public"],
151
168
)
152
169
""" ,
0 commit comments