[Bug 1109390] Review Request: llvm33 - Versioned LLVM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1109390

Milan Bouchet-Valat <nalimilan@xxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Review Request: llvm3.3 -   |Review Request: llvm33 -
                   |Versioned LLVM              |Versioned LLVM



--- Comment #18 from Milan Bouchet-Valat <nalimilan@xxxxxxx> ---
OK, I've started from your llvm34 package, and with very few changes it works.

Spec URL: https://nalimilan.fedorapeople.org/llvm33.spec
SRPM URL: 
https://nalimilan.fedorapeople.org/llvm33-3.3-1.fc22.src.rpm
Description: Versioned LLVM 3.3
Fedora Account System Username: nalimilan

A Koji build is here:
http://koji.fedoraproject.org/koji/taskinfo?taskID=10287200


The diff is:
--- ../llvm34/llvm34.spec    2015-07-04 09:21:38.400208716 +0200
+++ ../llvm33/llvm33.spec    2015-07-04 13:09:52.844414464 +0200
@@ -11,13 +11,11 @@
   %global llvmdocdir() %{_docdir}/%1
 %endif

-%global downloadurl
http://llvm.org/%{?prerel:pre-}releases/%{version}%{?prerel:/%{prerel}}
+%global major_version 3.3

-%global major_version 3.4
-
-Name:           llvm34
-Version:        3.4.2
-Release:        7%{?dist}
+Name:           llvm33
+Version:        3.3
+Release:        1%{?dist}
 Summary:        The Low Level Virtual Machine

 Group:          Development/Languages
@@ -34,9 +32,7 @@
 # patches
 Patch11:        0001-data-install-preserve-timestamps.patch
 Patch12:        0002-linker-flags-speedup-memory.patch
-
-# temporary measure to get ppc64le building, if perhaps not working
-Patch21:        0001-PPC64LE-ELFv2-ABI-updates-for-the-.opd-section.patch
+Patch13:        0003-fix-clear-cache-declaration.patch

 BuildRequires:  bison
 BuildRequires:  chrpath
@@ -112,7 +108,7 @@

 %patch11 -p1
 %patch12 -p1
-%patch21 -p1
+%patch13 -p1

 # fix library paths
 sed -i.orig 's|/lib /usr/lib $lt_ld_extra|%{_libdir} $lt_ld_extra|' configure
@@ -169,7 +165,7 @@
 %if %{with gold}
   --with-binutils-include=%{_includedir} \
 %endif
-  --with-c-include-dirs=%{_includedir}:$(echo
%{_prefix}/lib/gcc/%{_target_cpu}*/*/include)
+  --with-c-include-dirs=%{_includedir}:$(ls -d1
%{_prefix}/lib/gcc/%{_target_cpu}*/*/include | tr "\\n" ":")

 make %{_smp_mflags} REQUIRES_RTTI=1 VERBOSE=1 \
 %ifarch ppc
@@ -275,7 +271,6 @@
 %{_bindir}/bugpoint-%{major_version}
 %{_bindir}/llc-%{major_version}
 %{_bindir}/lli-%{major_version}
-%{_bindir}/lli-child-target-%{major_version}
 %exclude %{_bindir}/llvm-config-%{__isa_bits}-%{major_version}
 %{_bindir}/llvm*-%{major_version}
 %{_bindir}/macho-dump-%{major_version}
@@ -300,6 +295,11 @@
 %doc %{llvmdocdir %{name}-doc}/

 %changelog
+* Sat Jul 04 2015 Milan Bouchet-Valat <nalimilan@xxxxxxx> 3.3-1
+- Create llvm33 package based on llvm34.
+- Fix configure option --with-c-include-dirs when several gcc versions are
installed.
+- Remove unused global downloadurl.
+
 * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx>
- 3.4.2-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

(Note that the --with-c-include-dirs is something unrelated I've found out when
building the package on RHEL. I can remove it for now if you like.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]