Package Details: or-tools 9.0-3

Git Clone URL: https://aur.archlinux.org/or-tools.git (read-only, click to copy)
Package Base: or-tools
Description: Google's Operations Research tools.
Upstream URL: https://github.com/google/or-tools
Licenses: Apache
Submitter: akstrfn
Maintainer: akstrfn
Last Packager: akstrfn
Votes: 1
Popularity: 0.22
First Submitted: 2018-06-14 21:35
Last Updated: 2021-05-05 16:09

Dependencies (6)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

akstrfn commented on 2021-04-01 11:24

Thanks for the tips!

mizux commented on 2021-03-31 13:15

since you are using -DBUILD_EXAMPLES=OFF, then -DBUILD_CXX_EXAMPLES=OFF is not needed ref: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=or-tools#n28 see: https://github.com/google/or-tools/blob/fa84bc05e72641dddfbb98164d81b8bc9bef6ea5/CMakeLists.txt#L129

mizux commented on 2021-03-31 13:11

side note: Since Release v8.1 ortools do not depends on gflags nor google-glog ref: https://github.com/google/or-tools/releases/tag/v8.1

peets commented on 2021-03-07 21:00

Build failed for me on 879bed8f because MAKEFLAGS is not defined in my environment. Here's a patch that sidesteps that: https://pastebin.com/J7LG1a5J

akstrfn commented on 2020-01-28 22:55

thx I'll try to update the package this weekend :)

mizux commented on 2020-01-28 14:49

We have just released the v7.5 hoping it will help you...

akstrfn commented on 2019-12-29 21:55

The problem is that the build depended on master branch of absl libraries and when I bumped the version it all worked but now its broken. or-tools team has fixed the commit now for absl and I've tried patching it by pulling those commits but it did not work. Unfortunately I dont have time atm to dig more into the problem.

Cake commented on 2019-12-29 08:06

Same cmake building error with @jschwab.

jschwab commented on 2019-11-23 21:34

On an up-to-date (2019-11-23) system, the build fails with an error message starting:

/home/jschwab/builds/or-tools/src/or-tools-7.4/ortools/base/int128.h:31:7: error: redefinition of ‘class absl::int128’ 31 | class int128 { | ^~~~~~ In file included from /home/jschwab/builds/or-tools/src/or-tools-7.4/build/dependencies/install/include/absl/hash/internal/hash.h:45, from /home/jschwab/builds/or-tools/src/or-tools-7.4/build/dependencies/install/include/absl/hash/hash.h:73, from /home/jschwab/builds/or-tools/src/or-tools-7.4/build/dependencies/install/include/absl/container/internal/hash_function_defaults.h:55, from /home/jschwab/builds/or-tools/src/or-tools-7.4/build/dependencies/install/include/absl/container/flat_hash_map.h:40, from /home/jschwab/builds/or-tools/src/or-tools-7.4/ortools/sat/linear_programming_constraint.h:21, from /home/jschwab/builds/or-tools/src/or-tools-7.4/ortools/sat/linear_programming_constraint.cc:14: /home/jschwab/builds/or-tools/src/or-tools-7.4/build/dependencies/install/include/absl/numeric/int128.h:331:7: note: previous definition of ‘class absl::int128’

kami commented on 2019-04-01 13:46

I'm running on the latest archlinux and getting these problems:

when running makepkg with -DBUILD_DEPS=ON will give:

==> Making package: or-tools 6.10-2 (mån 1 apr 2019 15:45:00) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found v6.10.tar.gz ==> Validating source files with sha256sums... v6.10.tar.gz ... Passed ==> Extracting sources... -> Extracting v6.10.tar.gz with bsdtar ==> Starting prepare()... -- Build all dependencies: ON -- Build CXX library: ON -- Build Python Binding: OFF -- Build Java Binding: OFF -- Build .Net Binding: OFF -- Target gflags::gflags not found. -- Adding CMake Subproject: Gflags... -- Configuring done -- Generating done -- Build files have been written to: /mnt/Data/work/aur.archlinux.org/or-tools/src/or-tools-6.10/build/gflags-download [100%] Built target gflags_project -- Adding CMake Subproject: Gflag...DONE -- Target glog::glog not found. -- Adding CMake Subproject: Glog... -- Configuring done -- Generating done -- Build files have been written to: /mnt/Data/work/aur.archlinux.org/or-tools/src/or-tools-6.10/build/glog-download [100%] Built target glog_project -- Found gflags: CMake Target gflags::gflags (found version "2.2.1") -- Adding CMake Subproject: Glog...DONE -- Target ZLIB::ZLIB not found. -- Adding CMake Subproject: ZLIB... -- Configuring done -- Generating done -- Build files have been written to: /mnt/Data/work/aur.archlinux.org/or-tools/src/or-tools-6.10/build/zlib-download [100%] Built target zlib_project -- Adding CMake Subproject: ZLIB...DONE -- Target protobuf::libprotobuf or protobuf::protoc not found. -- Adding CMake Subproject: Protobuf... -- Configuring done -- Generating done -- Build files have been written to: /mnt/Data/work/aur.archlinux.org/or-tools/src/or-tools-6.10/build/protobuf-download [100%] Built target protobuf_project -- Found ZLIB: CMake Target ZLIB::ZLIB (found version "1.2.11") -- Adding CMake Subproject: Protobuf...DONE -- Target Cbc::CbcSolver or Cbc::ClpSolver not found. -- Adding CMake Subproject: Cbc... -- Configuring done -- Generating done -- Build files have been written to: /mnt/Data/work/aur.archlinux.org/or-tools/src/or-tools-6.10/build/cbc-download [100%] Built target cbc_project CMake Error at cmake/external/CMakeLists.txt:189 (add_subdirectory): The source directory

/mnt/Data/work/aur.archlinux.org/or-tools/src/or-tools-6.10/build/cbc-src

does not contain a CMakeLists.txt file.

-- Adding CMake Subproject: Cbc...DONE -- ortools version: 6.10.9999 -- Configuring incomplete, errors occurred! See also "/mnt/Data/work/aur.archlinux.org/or-tools/src/or-tools-6.10/build/CMakeFiles/CMakeOutput.log". See also "/mnt/Data/work/aur.archlinux.org/or-tools/src/or-tools-6.10/build/CMakeFiles/CMakeError.log". ==> ERROR: A failure occurred in prepare(). Aborting...

when running makepkg with -DBUILD_DEPS=OFF will give:

==> Making package: or-tools 6.10-2 (mån 1 apr 2019 15:45:54) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found v6.10.tar.gz ==> Validating source files with sha256sums... v6.10.tar.gz ... Passed ==> Extracting sources... -> Extracting v6.10.tar.gz with bsdtar ==> Starting prepare()... -- Build all dependencies: OFF -- Build CXX library: ON -- Build Python Binding: OFF -- Build Java Binding: OFF -- Build .Net Binding: OFF -- ortools version: 6.10.9999 CMake Error at cmake/cpp.cmake:98 (get_target_property): get_target_property() called with non-existent target "protobuf::libprotobuf". Call Stack (most recent call first): CMakeLists.txt:74 (include)

-- Configuring incomplete, errors occurred! See also "/mnt/Data/work/aur.archlinux.org/or-tools/src/or-tools-6.10/build/CMakeFiles/CMakeOutput.log". See also "/mnt/Data/work/aur.archlinux.org/or-tools/src/or-tools-6.10/build/CMakeFiles/CMakeError.log". ==> ERROR: A failure occurred in prepare(). Aborting...