Fix dependencies, rebuild with libisl and build documentation
This commit is contained in:
@@ -1,13 +1,19 @@
|
|||||||
name: gcc
|
name: gcc
|
||||||
description: The GNU C Compiler
|
description: The GNU C Compiler
|
||||||
version: 15.2.0
|
version: 15.2.0
|
||||||
revision: 6
|
revision: 7
|
||||||
url: https://gcc.gnu.org/
|
url: https://gcc.gnu.org/
|
||||||
license: GPL3-or-later,LGPL3-or-later,GPL3 with GCC-exception
|
license: GPL3-or-later,LGPL3-or-later,GPL3 with GCC-exception
|
||||||
architecture: any
|
architecture: any
|
||||||
type: source
|
type: source
|
||||||
make_depends:
|
make_depends:
|
||||||
- python3
|
- binutils
|
||||||
|
- gcc-libs
|
||||||
|
- doxygen
|
||||||
|
- libisl
|
||||||
|
- mpc
|
||||||
|
- zstd
|
||||||
|
check_depends:
|
||||||
- dejagnu
|
- dejagnu
|
||||||
- expect
|
- expect
|
||||||
- inetutils
|
- inetutils
|
||||||
@@ -23,6 +29,7 @@ split_packages:
|
|||||||
depends:
|
depends:
|
||||||
- binutils
|
- binutils
|
||||||
- gcc-libs
|
- gcc-libs
|
||||||
|
- libisl
|
||||||
- mpc
|
- mpc
|
||||||
- zstd
|
- zstd
|
||||||
- name: gcc-fortran
|
- name: gcc-fortran
|
||||||
|
|||||||
@@ -30,6 +30,9 @@ build() {
|
|||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--enable-languages=c,c++,fortran,objc,obj-c++,m2
|
--enable-languages=c,c++,fortran,objc,obj-c++,m2
|
||||||
make
|
make
|
||||||
|
|
||||||
|
# Make documentation
|
||||||
|
make -O -C $CHOST/libstdc++-v3/doc doc-man-doxygen
|
||||||
}
|
}
|
||||||
|
|
||||||
# The check function is executed in the source directory
|
# The check function is executed in the source directory
|
||||||
@@ -100,6 +103,11 @@ package_gcc() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
package_gcc-libs() {
|
package_gcc-libs() {
|
||||||
|
cd build
|
||||||
|
|
||||||
|
# Install libstdc++ man pages
|
||||||
|
make -C $CHOST/libstdc++-v3/doc DESTDIR="$BPM_OUTPUT" doc-install-man
|
||||||
|
|
||||||
# Install package license
|
# Install package license
|
||||||
install -Dm644 "$BPM_SOURCE"/{COPYING3,COPYING.RUNTIME} -t "$BPM_OUTPUT"/usr/share/licenses/gcc-libs/
|
install -Dm644 "$BPM_SOURCE"/{COPYING3,COPYING.RUNTIME} -t "$BPM_OUTPUT"/usr/share/licenses/gcc-libs/
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user