File tree 1 file changed +4
-8
lines changed
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 1
- # typed: false
2
-
3
1
class OsrmBackend < Formula
4
2
desc "High performance routing engine"
5
3
homepage "https://project-osrm.org/"
@@ -27,7 +25,6 @@ class OsrmBackend < Formula
27
25
depends_on "pkgconf" => :build
28
26
29
27
depends_on "boost"
30
- depends_on "gcc"
31
28
depends_on "libstxxl"
32
29
depends_on "libxml2"
33
30
depends_on "libzip"
@@ -38,18 +35,17 @@ class OsrmBackend < Formula
38
35
uses_from_macos "expat"
39
36
uses_from_macos "zlib"
40
37
38
+ on_linux do
39
+ depends_on "llvm" => :build
40
+ end
41
+
41
42
conflicts_with "flatbuffers" , because : "both install flatbuffers headers"
42
43
conflicts_with "mapnik" , because : "both install Mapbox Variant headers"
43
44
44
45
def install
45
46
# Work around build failure: duplicate symbol 'boost::phoenix::placeholders::uarg9'
46
47
# Issue ref: https://github.com/boostorg/phoenix/issues/111
47
48
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?
53
49
54
50
lua = Formula [ "lua" ]
55
51
luaversion = lua . version . major_minor
You can’t perform that action at this time.
0 commit comments