forked from ports/contrib
glpk: 4.65 -> 5.0
This commit is contained in:
parent
4e809c46c4
commit
048ced02a4
@ -6,6 +6,6 @@ drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
-rw-r--r-- root/root usr/lib/libglpk.a
|
||||
-rwxr-xr-x root/root usr/lib/libglpk.la
|
||||
lrwxrwxrwx root/root usr/lib/libglpk.so -> libglpk.so.40.3.0
|
||||
lrwxrwxrwx root/root usr/lib/libglpk.so.40 -> libglpk.so.40.3.0
|
||||
-rwxr-xr-x root/root usr/lib/libglpk.so.40.3.0
|
||||
lrwxrwxrwx root/root usr/lib/libglpk.so -> libglpk.so.40.3.1
|
||||
lrwxrwxrwx root/root usr/lib/libglpk.so.40 -> libglpk.so.40.3.1
|
||||
-rwxr-xr-x root/root usr/lib/libglpk.so.40.3.1
|
||||
|
@ -1,6 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3xzZYSiGqkS+jzCY0bz+WjZ/4/pFxYaE+fNLecm3nOVTwpszkADQ+p8KJ28mYr4rUQ5BEHu0Frk1+YVnW/2v6AE=
|
||||
SHA256 (Pkgfile) = 88a12659ca200e99d5cc9e5c7b60d9f244447cf6434497e893a030ed85bdd328
|
||||
SHA256 (.footprint) = 5bf094461f745cf3a657f31eff66efaac32a41845594450bb3969c3ac585dcc9
|
||||
SHA256 (glpk-4.65.tar.gz) = 4281e29b628864dfe48d393a7bedd781e5b475387c20d8b0158f329994721a10
|
||||
SHA256 (glpk-remove-warnings.patch) = d1d9d944072f1955c5dbc075259443b48c45275f4dde3f11ba45b59474f9ac07
|
||||
RWSagIOpLGJF38VrNJmcSwo5MdzLS9yQ3UlSXy+cxiy1IkBq79Hy6lPyy9FC7RL0IYm2XDhjtNkHn3OaN7BB7tvJvK2PRghs4wI=
|
||||
SHA256 (Pkgfile) = 6fd72475922c7ea847c06d62baab9deca5b93877580f2817cd4b747fea7c7123
|
||||
SHA256 (.footprint) = 179d65498769208b4b3936bb96e5db00cba2399a6015bcd4208cc68629af5eb3
|
||||
SHA256 (glpk-5.0.tar.gz) = 4a1013eebb50f728fc601bdd833b0b2870333c3b3e5a816eeba921d95bec6f15
|
||||
|
@ -4,9 +4,9 @@
|
||||
# Depends on: libgmp
|
||||
|
||||
name=glpk
|
||||
version=4.65
|
||||
version=5.0
|
||||
release=1
|
||||
source=(https://ftp.gnu.org/gnu/glpk/$name-$version.tar.gz glpk-remove-warnings.patch)
|
||||
source=(https://ftp.gnu.org/gnu/glpk/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
@ -15,7 +15,6 @@ build() {
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
patch -p1 -i ../glpk-remove-warnings.patch
|
||||
./configure --prefix=/usr \
|
||||
--with-gmp
|
||||
make
|
||||
|
@ -1,19 +0,0 @@
|
||||
--- glpk-4.65/src/draft/glpios03.c.orig 2018-08-18 07:02:32.165492793 +0000
|
||||
+++ glpk-4.65/src/draft/glpios03.c 2018-08-18 07:03:47.775715038 +0000
|
||||
@@ -920,13 +920,10 @@
|
||||
#if 0
|
||||
((glp_iocp *)T->parm)->msg_lev = GLP_MSG_DBG;
|
||||
#endif
|
||||
-#if 1 /* 16/III-2016 */
|
||||
+#if 1 /* 01/III-2018 */
|
||||
if (((glp_iocp *)T->parm)->flip)
|
||||
-#if 0 /* 20/I-2018 */
|
||||
- xprintf("WARNING: LONG-STEP DUAL SIMPLEX WILL BE USED\n");
|
||||
-#else
|
||||
- xprintf("Long-step dual simplex will be used\n");
|
||||
-#endif
|
||||
+ if (T->parm->msg_lev >= GLP_MSG_ALL)
|
||||
+ xprintf("Long-step dual simplex will be used\n");
|
||||
#endif
|
||||
/* on entry to the B&B driver it is assumed that the active list
|
||||
contains the only active (i.e. root) subproblem, which is the
|
Loading…
x
Reference in New Issue
Block a user