File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 1- # typed: false
2-
31class OsrmBackend < Formula
42 desc "High performance routing engine"
53 homepage "https://project-osrm.org/"
@@ -27,7 +25,6 @@ class OsrmBackend < Formula
2725 depends_on "pkgconf" => :build
2826
2927 depends_on "boost"
30- depends_on "gcc"
3128 depends_on "libstxxl"
3229 depends_on "libxml2"
3330 depends_on "libzip"
@@ -38,18 +35,17 @@ class OsrmBackend < Formula
3835 uses_from_macos "expat"
3936 uses_from_macos "zlib"
4037
38+ on_linux do
39+ depends_on "llvm" => :build
40+ end
41+
4142 conflicts_with "flatbuffers" , because : "both install flatbuffers headers"
4243 conflicts_with "mapnik" , because : "both install Mapbox Variant headers"
4344
4445 def install
4546 # Work around build failure: duplicate symbol 'boost::phoenix::placeholders::uarg9'
4647 # Issue ref: https://github.com/boostorg/phoenix/issues/111
4748 ENV . append_to_cflags "-DBOOST_PHOENIX_STL_TUPLE_H_"
48- # Work around build failure on Linux:
49- # /tmp/osrm-backend-20221105-7617-1itecwd/osrm-backend-5.27.1/src/osrm/osrm.cpp:83:1:
50- # /usr/include/c++/11/ext/new_allocator.h:145:26: error: 'void operator delete(void*, std::size_t)'
51- # called on unallocated object 'result' [-Werror=free-nonheap-object]
52- ENV . append_to_cflags "-Wno-free-nonheap-object" if OS . linux?
5349
5450 lua = Formula [ "lua" ]
5551 luaversion = lua . version . major_minor
You can’t perform that action at this time.
0 commit comments