mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
@@ -17,7 +17,11 @@ URL: http://www.freetype.org/
|
||||
#
|
||||
# freetype Source
|
||||
#
|
||||
%source set freetype http://download.savannah.gnu.org/releases/freetype/freetype-%{freetype_version}.tar.gz
|
||||
# Use release 5.1 as the 5 branch version is no longer available on savannah.gnu.org
|
||||
#
|
||||
%source set freetype \
|
||||
https://ftp.rtems.org/pub/rtems/releases/5/5.1/sources/freetype-%{freetype_version}.tar.gz
|
||||
|
||||
#
|
||||
# Prepare the source code.
|
||||
#
|
||||
|
@@ -18,21 +18,18 @@
|
||||
#
|
||||
%source set newlib https://sourceware.org/pub/newlib/newlib-%{newlib_version}.tar.gz
|
||||
|
||||
#
|
||||
# Packages GCC requires
|
||||
#
|
||||
%source set mpfr http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.bz2
|
||||
%source set mpc http://www.multiprecision.org/mpc/download/mpc-%{mpc_version}.tar.gz
|
||||
%source set gmp https://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.bz2
|
||||
|
||||
%patch add gcc --rsb-file=Make-lang.in-b09fb02bb4c0d16fc2c842bec4069c033897b5f2.patch -p1 https://gcc.gnu.org/git/?p=gcc.git;a=blobdiff_plain;f=gcc/cp/Make-lang.in;h=b09fb02bb4c0d16fc2c842bec4069c033897b5f2;hp=e98beb1e33e4bcc4943361c559ae71b7eb345346;hb=1e5f1089dec3af328fd03125d6778f666d0bd4e4;hpb=88375bb2ba8b9004a9924cdae894d7ff32972652
|
||||
%hash sha512 Make-lang.in-b09fb02bb4c0d16fc2c842bec4069c033897b5f2.patch a47511de21fda0c0c314577ee295b8f2bc9f555084ceca88de12c931ebfe47e5fec349682085a7a1e8637e8e159b8f79188a56d42e54fda2ba5161d5bd3f56ac
|
||||
%hash sha512 Make-lang.in-b09fb02bb4c0d16fc2c842bec4069c033897b5f2.patch \
|
||||
h0s+47lNCLhSKUjMuK6qILRHFeNpgsm/MulBzfqv934aPdryogCODhEdPiT5pUV02nMIzvg/kx7wus+8O6zTKQ==
|
||||
%patch add gcc --rsb-file=cfns.gperf.b09fb02bb4c0d16fc2c842bec4069c033897b5f2.patch -p1 https://gcc.gnu.org/git/?p=gcc.git;a=blobdiff_plain;f=gcc/cp/cfns.gperf;h=b09fb02bb4c0d16fc2c842bec4069c033897b5f2;hp=e98beb1e33e4bcc4943361c559ae71b7eb345346;hb=1e5f1089dec3af328fd03125d6778f666d0bd4e4;hpb=88375bb2ba8b9004a9924cdae894d7ff32972652
|
||||
%hash sha512 cfns.gperf.b09fb02bb4c0d16fc2c842bec4069c033897b5f2.patch fdb49abb4f04ba627d6be7b0e0dd9bfdf3eb4b28c045627048bf1c56cabdf2c618cf084991bb847ac60c1eabf582a30ca1e0f4bfd943b9f34efd7e96879d251b
|
||||
%hash sha512 cfns.gperf.b09fb02bb4c0d16fc2c842bec4069c033897b5f2.patch \
|
||||
nzj3FPeCC/NcOvuIzyd4EGoJFu3iqn1LUa8ya+P2hstwVLxiHGyvZKHaS1Cb0v7JlRCfhe6eftTZFmEzEqxCqw==
|
||||
%patch add gcc --rsb-file=cfns.h-b09fb02bb4c0d16fc2c842bec4069c033897b5f2.patch -p1 https://gcc.gnu.org/git/?p=gcc.git;a=blobdiff_plain;f=gcc/cp/cfns.h;h=b09fb02bb4c0d16fc2c842bec4069c033897b5f2;hp=e98beb1e33e4bcc4943361c559ae71b7eb345346;hb=1e5f1089dec3af328fd03125d6778f666d0bd4e4;hpb=88375bb2ba8b9004a9924cdae894d7ff32972652
|
||||
%hash sha512 cfns.h-b09fb02bb4c0d16fc2c842bec4069c033897b5f2.patch ec0bd28a8266b136b99db4285c9a088c11fd7ba647dade5fb161308c00cb4189fa665e25ce6b139a7aa9740e97e617fd4e15ca506416dd9316e9fb7202f5c520
|
||||
%hash sha512 cfns.h-b09fb02bb4c0d16fc2c842bec4069c033897b5f2.patch \
|
||||
Wl/1Njp/BOUEwxIVBZtElBLT2rSlBO545FuagJHbL/ajxCllSmtM6611QpWke16fzN/SDgyvkgsJxzfk76WaLw==
|
||||
%patch add gcc --rsb-file=except.c-b09fb02bb4c0d16fc2c842bec4069c033897b5f2.patch -p1 https://gcc.gnu.org/git/?p=gcc.git;a=blobdiff_plain;f=gcc/cp/except.c;h=b09fb02bb4c0d16fc2c842bec4069c033897b5f2;hp=e98beb1e33e4bcc4943361c559ae71b7eb345346;hb=1e5f1089dec3af328fd03125d6778f666d0bd4e4;hpb=88375bb2ba8b9004a9924cdae894d7ff32972652
|
||||
%hash sha512 except.c-b09fb02bb4c0d16fc2c842bec4069c033897b5f2.patch ad05ceea98d7ec95fb2312b0f31aa6260f67119d7c796a1b8c1816fbcd2738edb626705594699bec22a2f770892589f6fc296e184d329bcb967ee2587fbfc5ba
|
||||
%hash sha512 except.c-b09fb02bb4c0d16fc2c842bec4069c033897b5f2.patch \
|
||||
CyuFSBNswd7W8LVDjeOev7HSrQ19dqNEKiuDwNRn0pf02tAxuerxwONQP2fX5QkqwCNxiPnSwB6yzhu4RVSX/A==
|
||||
|
||||
#
|
||||
# GCC Common build script.
|
||||
|
@@ -34,7 +34,7 @@ URL: http://gcc.gnu.org/
|
||||
# Default LTO to off.
|
||||
#
|
||||
%ifn %{defined with_lto}
|
||||
%define with_lto 0
|
||||
%define enable_lto 1
|
||||
%endif
|
||||
|
||||
#
|
||||
@@ -46,15 +46,37 @@ URL: http://gcc.gnu.org/
|
||||
%define rtems_gcc_version %{rtems_version}
|
||||
%endif
|
||||
|
||||
#
|
||||
# Packages GCC URLs, can be defined for older packages
|
||||
#
|
||||
%if %{!defined cloog_url}
|
||||
%define cloog_url https://gcc.gnu.org/pub/gcc/infrastructure
|
||||
%endif
|
||||
%if %{!defined isl_url}
|
||||
%define isl_url https://gcc.gnu.org/pub/gcc/infrastructure
|
||||
%endif
|
||||
%if %{!defined mpc_url}
|
||||
%define mpc_url https://gcc.gnu.org/pub/gcc/infrastructure
|
||||
%endif
|
||||
%if %{!defined gmp_url}
|
||||
%define gmp_url https://gcc.gnu.org/pub/gcc/infrastructure
|
||||
%endif
|
||||
%if %{!defined mpfr_url}
|
||||
%define mpfr_url https://gcc.gnu.org/pub/gcc/infrastructure
|
||||
%endif
|
||||
|
||||
#
|
||||
# Packages GCC requires
|
||||
#
|
||||
%if %{defined cloog_version}
|
||||
%source set cloog https://gcc.gnu.org/pub/gcc/infrastructure/cloog-%{cloog_version}.tar.gz
|
||||
%source set cloog %{_url}/cloog-%{cloog_version}.tar.gz
|
||||
%endif
|
||||
%if %{defined isl_version}
|
||||
%source set isl https://gcc.gnu.org/pub/gcc/infrastructure/isl-%{isl_version}.tar.bz2
|
||||
%source set isl %{isl_url}/isl-%{isl_version}.tar.bz2
|
||||
%endif
|
||||
%source set mpc %{mpc_url}/mpc-%{mpc_version}.tar.gz
|
||||
%source set gmp %{gmp_url}/gmp-%{gmp_version}.tar.bz2
|
||||
%source set mpfr %{mpfr_url}/mpfr-%{mpfr_version}.tar.bz2
|
||||
|
||||
#
|
||||
# Prepare the source code.
|
||||
@@ -90,7 +112,7 @@ URL: http://gcc.gnu.org/
|
||||
%source setup cloog -q -D -n cloog-%{cloog_version}
|
||||
%patch setup cloog -p1
|
||||
cd ${build_top}
|
||||
# Build MPFR one-tree style
|
||||
# Build CLooG one-tree style
|
||||
%{__rmfile} ${source_dir_gcc}/cloog
|
||||
%{__ln_s} $PWD/${source_dir_cloog} ${source_dir_gcc}/cloog
|
||||
%endif
|
||||
@@ -101,7 +123,7 @@ URL: http://gcc.gnu.org/
|
||||
%source setup isl -q -D -n isl-%{isl_version}
|
||||
%patch setup isl -p1
|
||||
cd ${build_top}
|
||||
# Build MPFR one-tree style
|
||||
# Build ISL one-tree style
|
||||
%{__rmfile} ${source_dir_gcc}/isl
|
||||
%{__ln_s} $PWD/${source_dir_isl} ${source_dir_gcc}/isl
|
||||
%endif
|
||||
@@ -143,6 +165,10 @@ URL: http://gcc.gnu.org/
|
||||
%build
|
||||
build_top=$(pwd)
|
||||
|
||||
%if %{defined _internal_gsed_path}
|
||||
export PATH=%{_internal_gsed_path}/bin:$PATH
|
||||
%endif
|
||||
|
||||
%{build_directory}
|
||||
|
||||
mkdir -p ${build_dir}
|
||||
@@ -162,11 +188,8 @@ URL: http://gcc.gnu.org/
|
||||
%if %{enable_fortran}
|
||||
languages="$languages,fortran"
|
||||
%endif
|
||||
%if %{enable_java}
|
||||
languages="$languages,java"
|
||||
%endif
|
||||
%if %{enable_objc}
|
||||
languages="$languages,objc"
|
||||
%if %{enable_lto}
|
||||
languages="$languages,lto"
|
||||
%endif
|
||||
|
||||
%{host_build_flags}
|
||||
@@ -188,10 +211,11 @@ URL: http://gcc.gnu.org/
|
||||
--with-newlib \
|
||||
--disable-nls --without-included-gettext \
|
||||
--disable-win32-registry \
|
||||
--disable-werror \
|
||||
--enable-version-specific-runtime-libs \
|
||||
%{?with_lto:--enable-lto}%{!?with_lto:--disable-lto} \
|
||||
--enable-newlib-io-c99-formats \
|
||||
%{?disable_MAKEINFO:MAKEINFO=missing} \
|
||||
%{?enable_newlib_tls:--enable-newlib-reent-thread-local} \
|
||||
%{?with_iconv:--enable-newlib-iconv} \
|
||||
%{?with_iconv:--enable-newlib-iconv-encodings=%{_newlib_iconv_encodings}} \
|
||||
%{?with_threads:--enable-threads}%{!?with_threads:--disable-threads} \
|
||||
|
@@ -17,7 +17,7 @@ URL: http://www.microwindows.org/
|
||||
#
|
||||
# nxlib Source
|
||||
#
|
||||
%source set nxlib git://github.com/alex-sever-h/nxlib.git
|
||||
%source set nxlib https://github.com/alex-sever-h/nxlib.git
|
||||
|
||||
#
|
||||
# Prepare the source code.
|
||||
|
@@ -16,8 +16,9 @@ URL: http://www.swig.org/
|
||||
#
|
||||
# Source
|
||||
#
|
||||
%source set swig --rsb-file=swig-rel-%{swig_version}.tar.gz https://github.com/swig/swig/archive/rel-%{swig_version}.tar.gz
|
||||
%source set pcre https://ftp.pcre.org/pub/pcre/pcre-%{pcre_version}.tar.bz2
|
||||
%source set swig --rsb-file=swig-rel-%{swig_version}.tar.gz \
|
||||
https://github.com/swig/swig/archive/rel-%{swig_version}.tar.gz
|
||||
%source set pcre https://sourceforge.net/projects/pcre/files/pcre/%{pcre_version}/pcre-%{pcre_version}.tar.bz2/download
|
||||
|
||||
#
|
||||
# See if a special swig prefix is provided
|
||||
|
Reference in New Issue
Block a user