[MacPorts] #15496: llvm +universal doesn't build
MacPorts
noreply at macports.org
Wed Dec 2 11:32:31 PST 2009
#15496: llvm +universal doesn't build
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: erickt@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.7.0
Keywords: | Port: llvm
-------------------------------------+--------------------------------------
Comment(by ryandesign@…):
Using the [attachment:llvm-universal.diff attached patch] using the
muniversal portgroup gets close to allowing a universal build, but the
llvm-config program differs between architectures, and I don't know how to
resolve it.
{{{
$ diff -ru work/destroot-{i386,x86_64}/opt/local/bin/llvm-config
--- work/destroot-i386/opt/local/bin/llvm-config 2009-12-01
17:13:20.000000000 -0600
+++ work/destroot-x86_64/opt/local/bin/llvm-config 2009-12-01
17:12:47.000000000 -0600
@@ -23,9 +23,9 @@
my $PACKAGE_NAME = q{llvm};
my $VERSION = q{2.6};
my $PREFIX = q{/opt/local};
-my $LLVM_CONFIGTIME = q{Tue Dec 1 16:32:20 CST 2009};
+my $LLVM_CONFIGTIME = q{Tue Dec 1 16:31:22 CST 2009};
my $LLVM_SRC_ROOT =
q{/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/llvm-2.6};
-my $LLVM_OBJ_ROOT =
q{/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build-i386};
+my $LLVM_OBJ_ROOT =
q{/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build-x86_64};
my $LLVM_ON_WIN32 = q{0};
my $LLVM_ON_UNIX = q{1};
my $LLVMGCCDIR = q{};
@@ -37,8 +37,8 @@
my $SHLIBEXT = q{.dylib};
my $EXEEXT = q{};
my $OS = q{Darwin};
-my $ARCH = lc(q{x86});
-my $TARGET_TRIPLE = q{i386-apple-darwin10};
+my $ARCH = lc(q{x86_64});
+my $TARGET_TRIPLE = q{x86_64-apple-darwin10};
my $TARGETS_TO_BUILD = q{X86 Sparc PowerPC Alpha ARM Mips CellSPU
PIC16 XCore MSP430 SystemZ Blackfin CBackend MSIL CppBackend};
my $TARGET_HAS_JIT = q{1};
my @TARGETS_BUILT = map { lc($_) } qw{X86 Sparc PowerPC Alpha ARM
Mips CellSPU PIC16 XCore MSP430 SystemZ Blackfin CBackend MSIL
CppBackend};
}}}
--
Ticket URL: <http://trac.macports.org/ticket/15496#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list