Package Details: ampl-mp 3.1.0-3

Git Clone URL: https://aur.archlinux.org/ampl-mp.git (read-only, click to copy)
Package Base: ampl-mp
Description: An open-source library for mathematical programming
Upstream URL: https://github.com/ampl/mp
Licenses: custom
Submitter: bchretien
Maintainer: carlosal1015
Last Packager: carlosal1015
Votes: 4
Popularity: 0.000000
First Submitted: 2015-10-08 09:00 (UTC)
Last Updated: 2021-12-22 22:32 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

carlosal1015 commented on 2021-12-09 23:37 (UTC) (edited on 2021-12-09 23:40 (UTC) by carlosal1015)

Hi @dani, @fagotto. I'm expecting that a patch taken from homebrew or vcpkg that I found on repology will work here. I will review both patches this week and we will eventually have a new release ampl-mp 3.1.0-3.

dani commented on 2020-10-05 04:25 (UTC)

Does this mean that AMPL/MP is not compatible with the latest GCC?

[ 63%] Building CXX object thirdparty/benchmark/src/CMakeFiles/benchmark.dir/benchmark.cc.o
/home/dan/.cache/yay/ampl-mp/src/mp-3.1.0/thirdparty/benchmark/src/benchmark.cc: In copy constructor ‘benchmark::internal::Benchmark::Benchmark(const benchmark::internal::Benchmark&)’:
/home/dan/.cache/yay/ampl-mp/src/mp-3.1.0/thirdparty/benchmark/src/benchmark.cc:525:38: error: implicitly-declared ‘benchmark::internal::BenchmarkImp::BenchmarkImp(const benchmark::internal::BenchmarkImp&)’ is deprecated [-Werror=deprecated-copy]
  525 |   : imp_(new BenchmarkImp(*other.imp_))
      |                                      ^
/home/dan/.cache/yay/ampl-mp/src/mp-3.1.0/thirdparty/benchmark/src/benchmark.cc:320:17: note: because ‘benchmark::internal::BenchmarkImp’ has user-provided ‘benchmark::internal::BenchmarkImp& benchmark::internal::BenchmarkImp::operator=(const benchmark::internal::BenchmarkImp&)’
  320 |   BenchmarkImp& operator=(BenchmarkImp const&);
      |                 ^~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [thirdparty/benchmark/src/CMakeFiles/benchmark.dir/build.make:82: thirdparty/benchmark/src/CMakeFiles/benchmark.dir/benchmark.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:876: thirdparty/benchmark/src/CMakeFiles/benchmark.dir/all] Error 2
make: *** [Makefile:160: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

fagotto commented on 2016-09-13 19:40 (UTC)

Outdated version 2.0.3 gives error while building with gcc-6 but new version 3.1.0 seems to work out of the (I changed only pkgver and sha256sums and it compiled just fine)