4 class MonoLlvmPackage (GitHubPackage
):
7 GitHubPackage
.__init
__(self
, 'mono', 'llvm', '3.0',
8 revision
='8b1520c8aae53e219cf80cdc0f02ad96600887d6',
11 '--enable-assertions=no',
12 '--enable-targets="x86,x86_64"']
15 # This package would like to be lipoed.
16 self
.needs_lipo
= True
18 # TODO: find out which flags are causing issues. reset ld_flags for the
23 def arch_build(self
, arch
):
24 if arch
== 'darwin-64': # 64-bit build pass
25 self
.local_configure_flags
= ['--build=x86_64-apple-darwin11.2.0']
27 if arch
== 'darwin-32':
28 self
.local_configure_flags
= ['--build=i386-apple-darwin11.2.0']
30 # LLVM says that libstdc++4.6 is broken and we should use libstdc++4.7.
31 # This switches it to the right libstdc++.
32 if Package
.profile
.name
== 'darwin':
33 self
.local_configure_flags
.extend(['--enable-libcpp=yes'])