Skip to content

Commit

Permalink
use external zstr package
Browse files Browse the repository at this point in the history
  • Loading branch information
lperron committed Jan 2, 2025
1 parent 433fac9 commit da093ac
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
5 changes: 5 additions & 0 deletions modules/soplex/7.1.2.bcr.1/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,8 @@ bazel_dep(
version = "1.3.1.bcr.3",
)

bazel_dep(
name = "zstr",
version = "1.0.7",
)

9 changes: 1 addition & 8 deletions modules/soplex/7.1.2.bcr.1/overlay/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
# Description:
# Soplex is a LP solver, a common tool in Operations Research.git

cc_library(
name = "zstr",
hdrs = glob(["src/soplex/external/zstr/*.hpp"]),
includes = ["src/soplex/external"],
visibility = ["//visibility:public"],
)

cc_library(
name = "libsoplex",
srcs = glob(
Expand Down Expand Up @@ -35,10 +28,10 @@ cc_library(
],
visibility = ["//visibility:public"],
deps = [
":zstr",
"@boost.multiprecision",
"@boost.serialization",
"@fmt",
"@zstr",
],
)

Expand Down
7 changes: 4 additions & 3 deletions modules/soplex/7.1.2.bcr.1/source.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
"patches": {
"add_config_dot_h.patch": "sha256-b7x5Pyms8oDiaXQc1u7BLgo33kbDyAXJPsf0XGVfv6s=",
"add_git_hash_dot_cpp.patch": "sha256-dr5ytJPP3IfeKS/F5fnGp37XRvb3HyADwp4TIx7aiXE=",
"fmt_dot_hpp.patch": "sha256-l3uQmHQOXJhsyGfBArkMIUI0n3t1BsvGD2r3d0CtVrc="
"fmt_dot_hpp.patch": "sha256-l3uQmHQOXJhsyGfBArkMIUI0n3t1BsvGD2r3d0CtVrc=",
"spxfileio_dot_h.patch": "sha256-g3qdN7pcA2Ef64Kx3vb2xjyNJrKRjLIPJCI6dLkj/N8="
},
"patch_strip": 1,
"overlay": {
"BUILD.bazel": "sha256-u8+431jtHNbHXszeueXdBV6aR6Mu8EBf+tBw8D00Res=",
"MODULE.bazel": "sha256-ohssuS7/XCoDoU/kSSQZ81hiKq1xkvtknPaydLfrquM="
"BUILD.bazel": "sha256-iChG1nWE8G5adFDB20qXvfVyODJvq4S2fC/fhcZCmto=",
"MODULE.bazel": "sha256-JSEr3bYeVvq0K35PrwOYgKqGixoRZiH7pZQetttBs5M="
}
}

0 comments on commit da093ac

Please sign in to comment.