clang-vl.spec 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615
  1. %bcond_with test
  2. %global reduce_debuginfo 1
  3. %ifarch %ix86
  4. %bcond_with lto_build
  5. %else
  6. %bcond_without lto_build
  7. %endif
  8. %if %{without lto_build}
  9. %global _lto_cflags %{nil}
  10. %endif
  11. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  12. %define ver_suffix %(echo "%{version}" | cut -d . -f 1)
  13. %define _unpackaged_files_terminate_build 1
  14. # Documentation install path
  15. %global llvmdocdir() %{_docdir}/%1-%{version}
  16. %define _unpackaged_files_terminate_build 1
  17. Summary: A C language family front-end for LLVM
  18. Summary(ja): LLVM の C 言語フロントエンド
  19. Name: clang
  20. Version: 20.1.4
  21. Release: 1%{?_dist_release}
  22. Group: programming
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. License: NCSA
  26. URL: https://llvm.org/
  27. Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/clang-%{version}.src.tar.xz
  28. Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/clang-tools-extra-%{version}.src.tar.xz
  29. # multilib fixes
  30. Source11: clang-config.h
  31. # Patch(es) for clang
  32. Patch100: 0003-PATCH-clang-Don-t-install-static-libraries.patch
  33. # Patch(es) for clang-tools-extra
  34. Patch200: 0001-PATCH-clang-Make-funwind-tables-the-default-on-all-a.patch
  35. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  36. BuildRequires: cmake
  37. BuildRequires: ninja
  38. BuildRequires: llvm-devel = %{version}
  39. BuildRequires: llvm-static = %{version}
  40. BuildRequires: libatomic
  41. BuildRequires: libxml2-devel
  42. BuildRequires: libzstd-devel
  43. BuildRequires: perl
  44. BuildRequires: ncurses-devel
  45. BuildRequires: python3
  46. BuildRequires: python3-devel
  47. Requires: llvm = %{version}-%{release}
  48. # clang requires gcc, clang++ requires libstdc++-devel
  49. Requires: libstdc++-devel
  50. # LLVM is not supported on PPC64
  51. # http://llvm.org/bugs/show_bug.cgi?id=3729
  52. ExcludeArch: ppc64
  53. %description
  54. clang: noun
  55. 1. A loud, resonant, metallic sound.
  56. 2. The strident call of a crane or goose.
  57. 3. C-language family front-end toolkit.
  58. The goal of the Clang project is to create a new C, C++, Objective C
  59. and Objective C++ front-end for the LLVM compiler. Its tools are built
  60. as libraries and designed to be loosely-coupled and extensible.
  61. %Package libs
  62. Summary: Runtime library for clang
  63. Summary(ja): Clang のランタイムライブラリ
  64. Group: system
  65. %description libs
  66. Runtime library for clang.
  67. %description libs -l ja
  68. Clang のランタイムライブラリです.
  69. %package devel
  70. Summary: Header files for clang
  71. Summary(ja): Clang のヘッダファイル
  72. Group: programming
  73. Requires: clang = %{version}-%{release}
  74. %description devel
  75. This package contains header files for the Clang compiler.
  76. %description devel -l ja
  77. Clang コンパイラのヘッダファイル集です.
  78. %package static
  79. Summary: static libraries for clang
  80. Summary(ja): Clang の静的ライブラリ
  81. Group: programming
  82. Requires: clang-devel = %{version}-%{release}
  83. Requires: clang = %{version}-%{release}
  84. %description static
  85. This package contains static libraries for the Clang compiler.
  86. %description devel -l ja
  87. Clang コンパイラの静的ライブラリです.
  88. %package analyzer
  89. Summary: A source code analysis framework
  90. Summary(ja): ソースコード分析フレームワーク
  91. License: NCSA
  92. Group: programming
  93. Requires: clang = %{version}-%{release}
  94. # not picked up automatically since files are currently not instaled
  95. # in standard Python hierarchies yet
  96. Requires: python3
  97. %description analyzer
  98. The Clang Static Analyzer consists of both a source code analysis
  99. framework and a standalone tool that finds bugs in C and Objective-C
  100. programs. The standalone tool is invoked from the command-line, and is
  101. intended to run in tandem with a build of a project or code base.
  102. %package -n python3-clang
  103. Summary: Python3 bindings for clang
  104. Group: programming
  105. Requires: %{name}-libs%{?_isa} = %{version}-%{release}
  106. Requires: python3
  107. %description -n python3-clang
  108. Python3 bindings for clang
  109. %package tools-extra
  110. Summary: Extra tools for clang
  111. Group: programming
  112. Requires: %{name}-libs%{?_isa} = %{version}-%{release}
  113. %description tools-extra
  114. A set of extra tools built using Clang's tooling API.
  115. %debug_package
  116. %prep
  117. %setup -T -q -b 1 -n clang-tools-extra-%{version}.src
  118. # failing test case
  119. rm test/clang-tidy/checkers/altera/struct-pack-align.cpp
  120. pathfix%{python3_version}.py -i %{__python3} -pn \
  121. clang-tidy/tool/ \
  122. clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py
  123. %setup -q -n clang-%{version}.src
  124. %autopatch -m100 -p2
  125. # failing test case
  126. rm test/CodeGen/profile-filter.c
  127. pathfix%{python3_version}.py -i %{__python3} -pn \
  128. tools/clang-format/ \
  129. tools/clang-format/git-clang-format \
  130. utils/hmaptool/hmaptool \
  131. tools/scan-view/bin/scan-view \
  132. tools/scan-view/share/Reporter.py \
  133. tools/scan-view/share/startfile.py \
  134. tools/scan-build-py/bin/* \
  135. tools/scan-build-py/libexec/*
  136. sed -i -e 's/"i686-linux-gnu",/"i686-linux-gnu","i686-vine-linux","i686-vine-linux-gnu",/' lib/Driver/ToolChains/Gnu.cpp
  137. sed -i -e 's/"x86_64-linux-gnu",/"x86_64-linux-gnu","x86_64-vine-linux","x86_64-vine-linux-gnu",/' lib/Driver/ToolChains/Gnu.cpp
  138. #sed -i -e 's/"ld"/"ld.gold"/' include/clang/Driver/ToolChain.h
  139. %build
  140. %if %reduce_debuginfo == 1
  141. %global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
  142. %endif
  143. %cmake \
  144. -GNinja \
  145. -DCLANG_DEFAULT_PIE_ON_LINUX=OFF \
  146. -DLLVM_PARALLEL_LINK_JOBS=1 \
  147. -DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
  148. -DCMAKE_BUILD_TYPE=RelWithDebInfo \
  149. -DPYTHON_EXECUTABLE=%{__python3} \
  150. -DCMAKE_SKIP_RPATH:BOOL=ON \
  151. %if %reduce_debuginfo == 1
  152. -DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
  153. -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
  154. %endif
  155. -DLLVM_CMAKE_DIR=%{_libdir}/cmake/llvm \
  156. %if 0%{?__isa_bits} == 64
  157. -DLLVM_LIBDIR_SUFFIX=64 \
  158. %else
  159. -DLLVM_LIBDIR_SUFFIX= \
  160. %endif
  161. -DLLVM_BUILD_UTILS:BOOL=ON \
  162. -DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR=../clang-tools-extra-%{version}.src \
  163. -DLLVM_MAIN_SRC_DIR=%{_datadir}/llvm/src \
  164. \
  165. -DLLVM_TABLEGEN_EXE:FILEPATH=%{_bindir}/llvm-tblgen \
  166. -DLLVM_COMMON_CMAKE_UTILS=%{_datadir}/llvm/cmake \
  167. \
  168. -DBUILD_SHARED_LIBS=OFF \
  169. -DLLVM_ENABLE_EH=ON \
  170. -DLLVM_ENABLE_RTTI=ON \
  171. -DLLVM_ENABLE_SPHINX=OFF \
  172. -DLLVM_INCLUDE_TESTS=OFF \
  173. -DENABLE_LINKER_BUILD_ID:BOOL=ON \
  174. \
  175. -DCLANG_BUILD_EXAMPLES:BOOL=OFF \
  176. -DCLANG_CONFIG_FILE_SYSTEM_DIR=%{_sysconfdir}/clang/ \
  177. -DCLANG_DEFAULT_PIE_ON_LINUX=OFF \
  178. -DCLANG_DEFAULT_UNWINDLIB=libgcc \
  179. -DCLANG_ENABLE_ARCMT:BOOL=ON \
  180. -DCLANG_ENABLE_STATIC_ANALYZER:BOOL=ON \
  181. -DCLANG_INCLUDE_DOCS:BOOL=ON \
  182. -DCLANG_INCLUDE_TESTS:BOOL=OFF \
  183. -DCLANG_LINK_CLANG_DYLIB=ON \
  184. -DCLANG_PLUGIN_SUPPORT:BOOL=ON \
  185. -DCLANG_REPOSITORY_STRING="Vine Linux %{version}-%{release}" \
  186. -DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR=../clang-tools-extra-%{version}.src \
  187. -DCLANG_RESOURCE_DIR=../lib/clang/%{ver_suffix} \
  188. %{nil}
  189. %cmake_build
  190. %install
  191. rm -rf %{buildroot}
  192. %cmake_install
  193. # Add clang++-{version} symlink
  194. ln -s clang++ %{buildroot}%{_bindir}/clang++-%{ver_suffix}
  195. # install clang python bindings
  196. mkdir -p %{buildroot}%{python3_sitelib}/clang/
  197. install -p -m644 bindings/python/clang/* %{buildroot}%{python3_sitelib}/clang/
  198. # install scanbuild-py to python sitelib.
  199. mv %{buildroot}%{_prefix}/lib/{libear,libscanbuild} %{buildroot}%{python3_sitelib}
  200. mv -v %{buildroot}%{_includedir}/clang/Config/config{,-%{__isa_bits}}.h
  201. install -m 0644 %{SOURCE11} %{buildroot}%{_includedir}/clang/Config/config.h
  202. # TODO: Package html docs
  203. rm -Rvf %{buildroot}%{_docdir}/clang/html
  204. rm -Rvf %{buildroot}%{_datadir}/clang-doc
  205. # remove git integration
  206. rm -vf %{buildroot}%{_bindir}/git-clang-format
  207. # remove editor integrations (bbedit, sublime, emacs, vim)
  208. rm -vf %{buildroot}%{_datadir}/clang/clang-format-bbedit.applescript
  209. rm -vf %{buildroot}%{_datadir}/clang/clang-format-sublime.py*
  210. rm -vf %{buildroot}%{_datadir}/clang/clang-format.el
  211. rm -vf %{buildroot}%{_datadir}/clang/clang-format.py*
  212. # remove diff reformatter
  213. rm -vf %{buildroot}%{_datadir}/clang/clang-format-diff.py*
  214. rm -f %{buildroot}%{_datadir}/clang/bash-autocomplete.sh
  215. rm -f %{buildroot}%{_datadir}/clang/clang-rename.el
  216. rm -f %{buildroot}%{_datadir}/clang/clang-rename.py
  217. rm -f %{buildroot}%{_datadir}/clang/clang-include-fixer.el
  218. rm -f %{buildroot}%{_datadir}/clang/clang-include-fixer.py
  219. # Remove clang-tidy headers. We don't ship the libraries for these.
  220. rm -Rvf %{buildroot}%{_includedir}/clang-tidy/
  221. %if %{with test}
  222. %check
  223. %ctest check-clang
  224. %endif
  225. %files
  226. #doc %{llvmdocdir clang}/
  227. %{_bindir}/clang
  228. %{_bindir}/clang++
  229. %{_bindir}/clang-%{ver_suffix}
  230. %{_bindir}/clang++-%{ver_suffix}
  231. %{_bindir}/clang-cl
  232. %{_bindir}/clang-cpp
  233. %files libs
  234. %dir %{_prefix}/lib/clang
  235. %dir %{_prefix}/lib/clang/%{ver_suffix}
  236. %dir %{_prefix}/lib/clang/%{ver_suffix}/include
  237. %{_prefix}/lib/clang/%{ver_suffix}/include/*
  238. %{_libdir}/libclang.so.*
  239. %{_libdir}/libclang-cpp.so.*
  240. %files devel
  241. #doc %{llvmdocdir clang-devel}/
  242. %{_libdir}/libclang.so
  243. %{_libdir}/libclang-cpp.so
  244. %{_includedir}/clang
  245. %{_includedir}/clang-c
  246. %dir %{_datadir}/clang/
  247. %{_libdir}/cmake/*
  248. %if %{with static}
  249. %files static
  250. %{_libdir}/libclang*.a
  251. %{_libdir}/libfindAllSymbols.a
  252. %endif
  253. %files analyzer
  254. %{_bindir}/analyze-build
  255. %{_bindir}/intercept-build
  256. %{_bindir}/scan-build
  257. %{_bindir}/scan-build-py
  258. %{_bindir}/scan-view
  259. %{_libexecdir}/ccc-analyzer
  260. %{_libexecdir}/c++-analyzer
  261. %{_libexecdir}/analyze-c++
  262. %{_libexecdir}/analyze-cc
  263. %{_libexecdir}/intercept-c++
  264. %{_libexecdir}/intercept-cc
  265. %{_datadir}/scan-view
  266. %{_datadir}/scan-build
  267. %{_mandir}/man1/scan-build.1.*
  268. %{python3_sitelib}/libear
  269. %{python3_sitelib}/libscanbuild
  270. %files -n python3-clang
  271. %{python3_sitelib}/clang/
  272. %files tools-extra
  273. %{_bindir}/amdgpu-arch
  274. %{_bindir}/c-index-test
  275. %{_bindir}/clang*
  276. %exclude %{_bindir}/clang
  277. %exclude %{_bindir}/clang++
  278. %exclude %{_bindir}/clang-%{ver_suffix}
  279. %exclude %{_bindir}/clang++-%{ver_suffix}
  280. %exclude %{_bindir}/clang-cl
  281. %exclude %{_bindir}/clang-cpp
  282. %{_bindir}/diagtool
  283. %{_bindir}/find-all-symbols
  284. %{_bindir}/hmaptool
  285. %{_bindir}/modularize
  286. %{_bindir}/nvptx-arch
  287. %{_bindir}/pp-trace
  288. %{_bindir}/run-clang-tidy
  289. %{_datadir}/clang/clang-tidy-diff.py*
  290. %{_datadir}/clang/run-find-all-symbols.py*
  291. %changelog
  292. * Wed May 7 2025 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 20.1.4-1
  293. - new upstream release.
  294. * Sat Apr 5 2025 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 20.1.2-1
  295. - new upstream release.
  296. * Thu Nov 14 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 19.1.3-1
  297. - new upstream release.
  298. * Sat May 04 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 18.1.5-1
  299. - new upstream release.
  300. * Sat Oct 07 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 17.0.2-1
  301. - new upstream release.
  302. * Sat Sep 30 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 17.0.1-1
  303. - new upstream release.
  304. * Sun May 28 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 16.0.4-1
  305. - new upstream release.
  306. * Fri Dec 16 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 15.0.6-1
  307. - new upstream release.
  308. * Wed Oct 05 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 15.0.2-1
  309. - new upstream release.
  310. * Wed Sep 07 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 15.0.0-1
  311. - new upstream release.
  312. * Wed Jun 15 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 14.0.5-1
  313. - new upstream release.
  314. - dropped patch5.
  315. - updated Patch1.
  316. - imported Patch5-202 from rawhide.
  317. * Thu Feb 03 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 13.0.1-1
  318. - new upstream release.
  319. * Fri Oct 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 13.0.0-1
  320. - new upstream release.
  321. - refreshed patches.
  322. * Wed Aug 11 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 12.0.1-1
  323. - new upstream release.
  324. - refreshed patches.
  325. * Sat Apr 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 12.0.0-1
  326. - devided clang from llvm.
  327. - new upstream release.
  328. * Fri Oct 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 11.0.0-2
  329. - enabled to build utils.
  330. * Thu Oct 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 11.0.0-1
  331. - new upstream release.
  332. * Mon Aug 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.1-1
  333. - new upstream release.
  334. * Thu Apr 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.0-2
  335. - rebuilt with libffi-3.3.
  336. * Fri Mar 27 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.0-1
  337. - new upstream release.
  338. * Sun Dec 22 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.0.1-1
  339. - new upstream release.
  340. * Sun Sep 22 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.0.0-2
  341. - dropped all patches.
  342. - switched build-system to ninja.
  343. - switched python to python3.
  344. * Fri Sep 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.0.0-1
  345. - new upstream release.
  346. - added OpenMP.
  347. * Sun Dec 16 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.0.1-1
  348. - fixed %%files.
  349. * Wed Dec 05 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.0.0-1
  350. - new upstream release.
  351. - dropped Patch0, 4, 5, 100 and 200.
  352. - imported Patch3, 7, 12, 15, 100, 101, 102 and 400 from rawhide.
  353. - renamed a subpackage "llvm-libs".
  354. - added a subpackage "lld".
  355. * Tue Jan 02 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.0.1-2
  356. - added subpackages "llvm-static", "python-lldb" and "python-clang".
  357. * Mon Jan 01 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.0.1-1
  358. - new upstream release.
  359. - dropped Patch1 and 2: fixed in upstream.
  360. - imported Patch0, 3-5, 100 and 200 from rawhide.
  361. - disabled Patch1002: no longer needed?
  362. * Fri Aug 5 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.8.1-1
  363. - new upstream release.
  364. - switched to cmake.
  365. - disable ocaml binding as default.
  366. - updated Patch1000 and 1002.
  367. - disabled Patch1000 as default.
  368. - cleanup patches.
  369. * Thu Jun 30 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-2
  370. - rebuild with gcc-5.4.0
  371. * Sat Sep 5 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.6.2-1
  372. - new upstream release
  373. - added BR: ocaml-ctypes
  374. * Thu Jun 4 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.6.1-1
  375. - new upstream release
  376. - dropt Patch 1, 201 and 1001
  377. - updated Patch 1000
  378. * Tue Mar 24 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.5.1-1
  379. - updated to 3.5.1
  380. - added Patch1, 2, 100, 101, 200, 201 and 202 from Fedora
  381. - added clang-libs, lldb, lldb-devel and compat32-llvm-libs subpackage
  382. - obsoleted clang-doc
  383. - built with ocaml 4.02.1
  384. * Sat Nov 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.0-2
  385. - fix <BTS:2832>
  386. - fix configure option "--with-c-include-dirs"
  387. - update Patch1000: clang-3.5.0-driver-ld.gold.patch
  388. - update Patch1001: clang-3.5.0-driver-lib64.patch
  389. - update Patch1002: clang-3.5.0-driver-vine.patch
  390. * Tue Oct 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.0-1
  391. - update to 3.5.0
  392. - remove Patch11 (clang-hardfloat-hack.patch)
  393. * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.3-2
  394. - rebuild with libffi-3.0.13
  395. * Mon Oct 28 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 3.3-1
  396. - update to 3.3
  397. * Mon Dec 03 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1-2
  398. - ld.gold (patch1000,1001)
  399. - add /%{_lib} to ld search path
  400. - add support *-vine-linux gcc (patch1002)
  401. * Fri Nov 30 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1-1
  402. - update to 3.1
  403. * Tue Jan 24 2012 NAKAMURA Kenta <kenta@vinelinux.org> - 3.0-1
  404. - updated to 3.0 release
  405. * Sun Jan 15 2012 NAKAMURA Kenta <kenta@vinelinux.org> - 2.9-3
  406. - added patch 2-4 to support -O4 link-time optimization
  407. * Fri Sep 9 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.9-2
  408. - disable -fno-var-tracking-assignments on ppc
  409. (seems like gcc-4.4.5 still doesn't support this)
  410. * Thu Aug 25 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9-1
  411. - new upstream release
  412. - add BR: libffi-devel
  413. - add R: libffi-devel to -devel
  414. * Sun May 23 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.7-1
  415. - initial build for Vine Linux
  416. * Sun May 2 2010 Michel Salim <salimma@fedoraproject.org> - 2.7-1
  417. - Update to final 2.7 release
  418. * Sun Mar 28 2010 Michel Salim <salimma@fedoraproject.org> - 2.7-0.1.pre1
  419. - Update to first 2.7 pre-release
  420. * Fri Sep 18 2009 Michel Salim <salimma@fedoraproject.org> - 2.6-0.6.pre2
  421. - Update to 2.6 pre-release2
  422. - -devel subpackage now virtually provides -static
  423. * Wed Sep 9 2009 Michel Salim <salimma@fedoraproject.org> - 2.6-0.5.pre1
  424. - Disable var tracking assignments on PPC
  425. * Wed Sep 9 2009 Michel Salim <salimma@fedoraproject.org> - 2.6-0.4.pre1
  426. - Don't adjust clang include dir; files there are noarch (bz#521893)
  427. - Enable clang unit tests
  428. - clang and clang-analyzer renamed; no longer depend on llvm at runtime
  429. * Mon Sep 7 2009 Michel Salim <salimma@fedoraproject.org> - 2.6-0.3.pre1
  430. - Package Clang's static analyzer tools
  431. * Mon Sep 7 2009 Michel Salim <salimma@fedoraproject.org> - 2.6-0.2.pre1
  432. - PIC is now enabled by default; explicitly disable on %%{ix86}
  433. * Mon Sep 7 2009 Michel Salim <salimma@fedoraproject.org> - 2.6-0.1.pre1
  434. - First 2.6 prerelease
  435. - Enable Clang front-end
  436. - Enable debuginfo generation
  437. * Sat Sep 5 2009 Michel Salim <salimma@fedoraproject.org> - 2.5-6
  438. - Disable assertions (needed by OpenGTL, bz#521261)
  439. - Align spec file with upstream build instructions
  440. - Enable unit tests
  441. * Sat Aug 22 2009 Michel Salim <salimma@fedoraproject.org> - 2.5-5
  442. - Only disable PIC on %%ix86; ppc actually needs it
  443. * Sat Aug 22 2009 Michel Salim <salimma@fedoraproject.org> - 2.5-4
  444. - Disable use of position-independent code on 32-bit platforms
  445. (buggy in LLVM <= 2.5)
  446. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-3
  447. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  448. * Wed Mar 4 2009 Michel Salim <salimma@fedoraproject.org> - 2.5-2
  449. - Remove build scripts; they require the build directory to work
  450. * Wed Mar 4 2009 Michel Salim <salimma@fedoraproject.org> - 2.5-1
  451. - Update to 2.5
  452. - Package build scripts (bug #457881)
  453. * Tue Dec 2 2008 Michel Salim <salimma@fedoraproject.org> - 2.4-2
  454. - Patched build process for the OCaml binding
  455. * Tue Dec 2 2008 Michel Salim <salimma@fedoraproject.org> - 2.4-1
  456. - Update to 2.4
  457. - Package Ocaml binding
  458. * Wed Jun 18 2008 Bryan O'Sullivan <bos@serpentine.com> - 2.3-2
  459. - Add dependency on groff
  460. * Wed Jun 18 2008 Bryan O'Sullivan <bos@serpentine.com> - 2.3-1
  461. - LLVM 2.3
  462. * Thu May 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.2-4
  463. - fix license tags
  464. * Wed Mar 5 2008 Bryan O'Sullivan <bos@serpentine.com> - 2.2-3
  465. - Fix compilation problems with gcc 4.3
  466. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.2-2
  467. - Autorebuild for GCC 4.3
  468. * Sun Jan 20 2008 Bryan O'Sullivan <bos@serpentine.com> - 2.1-2
  469. - Fix review comments
  470. * Sun Jan 20 2008 Bryan O'Sullivan <bos@serpentine.com> - 2.1-1
  471. - Initial version