Skip to content

Apache DataFusion SQL Query Engine

ARROW-12070: [GLib] Drop support for GNU Autotools

Sutou Kouheif5cdceeac132
diff --git a/dev/release/00-prepare-test.rb b/dev/release/00-prepare-test.rb
index bd1cee868d..b686ecd97d 100644
--- a/dev/release/00-prepare-test.rb
+++ b/dev/release/00-prepare-test.rb
@@ -130,13 +130,6 @@ class PrepareTest < Test::Unit::TestCase
omit_on_release_branch
prepare("VERSION_PRE_TAG")
assert_equal([
- {
- path: "c_glib/configure.ac",
- hunks: [
- ["-m4_define([arrow_glib_version], #{@snapshot_version})",
- "+m4_define([arrow_glib_version], #{@release_version})"],
- ],
- },
{
path: "c_glib/meson.build",
hunks: [
@@ -383,13 +376,6 @@ class PrepareTest < Test::Unit::TestCase
"VERSION_POST_TAG")
end
assert_equal([
- {
- path: "c_glib/configure.ac",
- hunks: [
- ["-m4_define([arrow_glib_version], #{@release_version})",
- "+m4_define([arrow_glib_version], #{@next_snapshot_version})"],
- ],
- },
{
path: "c_glib/meson.build",
hunks: [
diff --git a/dev/release/00-prepare.sh b/dev/release/00-prepare.sh
index 03c474449d..3e3ce19656 100755
--- a/dev/release/00-prepare.sh
+++ b/dev/release/00-prepare.sh
@@ -43,14 +43,11 @@ update_versions() {
esac
cd "${SOURCE_DIR}/../../c_glib"
- sed -i.bak -E -e \
- "s/^m4_define\(\[arrow_glib_version\], .+\)/m4_define([arrow_glib_version], ${version})/" \
- configure.ac
sed -i.bak -E -e \
"s/^version = '.+'/version = '${version}'/" \
meson.build
- rm -f configure.ac.bak meson.build.bak
- git add configure.ac meson.build
+ rm -f meson.build.bak
+ git add meson.build
cd -
cd "${SOURCE_DIR}/../../ci/scripts"
diff --git a/dev/release/02-source-test.rb b/dev/release/02-source-test.rb
index f354c681b5..7d92881f28 100644
--- a/dev/release/02-source-test.rb
+++ b/dev/release/02-source-test.rb
@@ -53,17 +53,6 @@ class SourceTest < Test::Unit::TestCase
end
end
- def test_glib_configure
- source("GLIB")
- Dir.chdir("#{@tag_name}/c_glib") do
- assert_equal([
- "configure",
- "configure.ac",
- ],
- Dir.glob("configure*").sort)
- end
- end
-
def test_csharp_git_commit_information
source
Dir.chdir("#{@tag_name}/csharp") do
diff --git a/dev/release/02-source.sh b/dev/release/02-source.sh
index 0eca86d283..89850e7543 100755
--- a/dev/release/02-source.sh
+++ b/dev/release/02-source.sh
@@ -21,7 +21,6 @@
set -e
: ${SOURCE_DEFAULT:=1}
-: ${SOURCE_GLIB:=${SOURCE_DEFAULT}}
: ${SOURCE_RAT:=${SOURCE_DEFAULT}}
: ${SOURCE_UPLOAD:=${SOURCE_DEFAULT}}
: ${SOURCE_VOTE:=${SOURCE_DEFAULT}}
@@ -63,24 +62,6 @@ rm -rf ${tag}
git archive ${release_hash} --prefix ${tag}/) | \
tar xf -
-# Replace c_glib/ after running c_glib/autogen.sh to create c_gilb/ source archive containing the configure script
-if [ ${SOURCE_GLIB} -gt 0 ]; then
- archive_name=tmp-apache-arrow
- (cd "${SOURCE_TOP_DIR}" && \
- git archive ${release_hash} --prefix ${archive_name}/) \
- > "${SOURCE_TOP_DIR}/${archive_name}.tar"
- c_glib_including_configure_tar_gz=c_glib.tar.gz
- docker build -t arrow-release-source "${SOURCE_TOP_DIR}/dev/release/source"
- docker run \
- -v "${SOURCE_TOP_DIR}":/arrow:delegated \
- arrow-release-source \
- /arrow/dev/release/source/build.sh ${archive_name} ${c_glib_including_configure_tar_gz}
- rm -f "${SOURCE_TOP_DIR}/${archive_name}.tar"
- rm -rf ${tag}/c_glib
- tar xf "${SOURCE_TOP_DIR}/${c_glib_including_configure_tar_gz}" -C ${tag}
- rm -f "${SOURCE_TOP_DIR}/${c_glib_including_configure_tar_gz}"
-fi
-
# Resolve all hard and symbolic links
rm -rf ${tag}.tmp
mv ${tag} ${tag}.tmp
diff --git a/dev/release/rat_exclude_files.txt b/dev/release/rat_exclude_files.txt
index 191124ce26..c32db1d81d 100644
--- a/dev/release/rat_exclude_files.txt
+++ b/dev/release/rat_exclude_files.txt
@@ -141,33 +141,6 @@ MANIFEST.in
__init__.pxd
__init__.py
requirements.txt
-c_glib/configure
-c_glib/version
-c_glib/m4/*.m4
-c_glib/config/config.sub
-c_glib/config.h.in
-c_glib/config/compile
-c_glib/config/missing
-c_glib/config/install-sh
-c_glib/config/config.guess
-c_glib/config/depcomp
-c_glib/config/ltmain.sh
-c_glib/doc/arrow-dataset-glib/arrow-dataset-glib.types
-c_glib/doc/arrow-dataset-glib/arrow-dataset-glib-sections.txt
-c_glib/doc/arrow-dataset-glib/arrow-dataset-glib-overrides.txt
-c_glib/doc/arrow-glib/arrow-glib.types
-c_glib/doc/arrow-glib/arrow-glib-sections.txt
-c_glib/doc/arrow-glib/arrow-glib-overrides.txt
-c_glib/doc/gandiva-glib/gandiva-glib.types
-c_glib/doc/gandiva-glib/gandiva-glib-sections.txt
-c_glib/doc/gandiva-glib/gandiva-glib-overrides.txt
-c_glib/doc/parquet-glib/parquet-glib.types
-c_glib/doc/parquet-glib/parquet-glib-sections.txt
-c_glib/doc/parquet-glib/parquet-glib-overrides.txt
-c_glib/doc/plasma-glib/plasma-glib.types
-c_glib/doc/plasma-glib/plasma-glib-sections.txt
-c_glib/doc/plasma-glib/plasma-glib-overrides.txt
-c_glib/gtk-doc.make
csharp/.gitattributes
csharp/dummy.git/*
csharp/src/Apache.Arrow/Flatbuf/*
diff --git a/dev/release/source/Dockerfile b/dev/release/source/Dockerfile
deleted file mode 100644
index 7d5453b80c..0000000000
--- a/dev/release/source/Dockerfile
+++ /dev/null
@@ -1,31 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-FROM debian:buster
-
-ENV DEBIAN_FRONTEND noninteractive
-
-RUN apt update && \
- apt install -y -V \
- autoconf-archive \
- gtk-doc-tools \
- libgirepository1.0-dev \
- libglib2.0-doc \
- libtool \
- pkg-config && \
- apt clean && \
- rm -rf /var/lib/apt/lists/*
diff --git a/dev/release/source/build.sh b/dev/release/source/build.sh
deleted file mode 100755
index 558600e1fb..0000000000
--- a/dev/release/source/build.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/bash
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-set -e
-
-archive_name=$1
-c_glib_including_configure_tar_gz=$2
-
-tar xf /arrow/${archive_name}.tar
-
-# Run autogen.sh to create c_glib/ source archive containing the configure script
-cd ${archive_name}/c_glib
-./autogen.sh
-rm -rf autom4te.cache
-cd -
-mv ${archive_name}/c_glib/ c_glib/
-tar czf /arrow/${c_glib_including_configure_tar_gz} c_glib
diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh
index d208a38428..222e70289d 100755
--- a/dev/release/verify-release-candidate.sh
+++ b/dev/release/verify-release-candidate.sh
@@ -383,19 +383,11 @@ test_python() {
test_glib() {
pushd c_glib
- if brew --prefix libffi > /dev/null 2>&1; then
- PKG_CONFIG_PATH=$(brew --prefix libffi)/lib/pkgconfig:$PKG_CONFIG_PATH
- fi
+ pip install meson
- if [ -f configure ]; then
- ./configure --prefix=$ARROW_HOME
- make -j$NPROC
- make install
- else
- meson build --prefix=$ARROW_HOME --libdir=lib
- ninja -C build
- ninja -C build install
- fi
+ meson build --prefix=$ARROW_HOME --libdir=lib
+ ninja -C build
+ ninja -C build install
export GI_TYPELIB_PATH=$ARROW_HOME/lib/girepository-1.0:$GI_TYPELIB_PATH
diff --git a/dev/tasks/linux-packages/apache-arrow/apt/debian-buster/Dockerfile b/dev/tasks/linux-packages/apache-arrow/apt/debian-buster/Dockerfile
index 20ddef188a..5dcc1b46b2 100644
--- a/dev/tasks/linux-packages/apache-arrow/apt/debian-buster/Dockerfile
+++ b/dev/tasks/linux-packages/apache-arrow/apt/debian-buster/Dockerfile
@@ -40,6 +40,7 @@ RUN \
apt update ${quiet} && \
apt install -y -V ${quiet} \
build-essential \
+ ccache \
cmake \
debhelper \
devscripts \
diff --git a/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-bionic/Dockerfile b/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-bionic/Dockerfile
index df518855cf..60be929519 100644
--- a/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-bionic/Dockerfile
+++ b/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-bionic/Dockerfile
@@ -34,6 +34,7 @@ RUN \
apt update ${quiet} && \
apt install -y -V ${quiet} \
build-essential \
+ ccache \
clang-10 \
cmake \
devscripts \
diff --git a/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-focal/Dockerfile b/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-focal/Dockerfile
index c1404da6e9..ad83bfa900 100644
--- a/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-focal/Dockerfile
+++ b/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-focal/Dockerfile
@@ -34,6 +34,7 @@ RUN \
apt update ${quiet} && \
apt install -y -V ${quiet} \
build-essential \
+ ccache \
clang-10 \
cmake \
debhelper \
diff --git a/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-groovy/Dockerfile b/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-groovy/Dockerfile
index 7b9cf7e16e..d60e6320e3 100644
--- a/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-groovy/Dockerfile
+++ b/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-groovy/Dockerfile
@@ -34,6 +34,7 @@ RUN \
apt update ${quiet} && \
apt install -y -V ${quiet} \
build-essential \
+ ccache \
clang-11 \
cmake \
debhelper \
diff --git a/dev/tasks/linux-packages/apache-arrow/debian/rules b/dev/tasks/linux-packages/apache-arrow/debian/rules
index 2adf2add08..60f6ddbe4d 100755
--- a/dev/tasks/linux-packages/apache-arrow/debian/rules
+++ b/dev/tasks/linux-packages/apache-arrow/debian/rules
@@ -36,6 +36,7 @@ override_dh_auto_configure:
-DARROW_PLASMA=$${ARROW_PLASMA} \
-DARROW_PYTHON=ON \
-DARROW_S3=ON \
+ -DARROW_USE_CCACHE=OFF \
-DARROW_WITH_BROTLI=ON \
-DARROW_WITH_BZ2=ON \
-DARROW_WITH_LZ4=ON \
diff --git a/dev/tasks/linux-packages/apache-arrow/yum/arrow.spec.in b/dev/tasks/linux-packages/apache-arrow/yum/arrow.spec.in
index 0e248d6d0d..842b3b0f01 100644
--- a/dev/tasks/linux-packages/apache-arrow/yum/arrow.spec.in
+++ b/dev/tasks/linux-packages/apache-arrow/yum/arrow.spec.in
@@ -43,8 +43,6 @@
# %define use_s3 (%{_centos_ver} >= 8)
%define use_s3 0
-%define use_meson (%{_centos_ver} >= 8)
-
%define have_rapidjson (%{_centos_ver} == 7)
%define have_re2 (%{_centos_ver} >= 8)
%define have_utf8proc (%{_centos_ver} == 7)
@@ -94,9 +92,6 @@ BuildRequires: llvm-devel
BuildRequires: ncurses-devel
%endif
-%if !%{use_meson}
-BuildRequires: autoconf-archive
-%endif
BuildRequires: gobject-introspection-devel
BuildRequires: gtk-doc
@@ -134,6 +129,7 @@ cd cpp/build
-DARROW_WITH_ZLIB=ON \
-DARROW_WITH_ZSTD=ON \
-DCMAKE_BUILD_TYPE=$cpp_build_type \
+ -DARROW_USE_CCACHE=OFF \
-DCMAKE_UNITY_BUILD=ON \
-DPARQUET_REQUIRE_ENCRYPTION=ON \
-DPythonInterp_FIND_VERSION=ON \
@@ -150,7 +146,6 @@ make %{?_smp_mflags}
cd -
cd c_glib
-%if %{use_meson}
pip3 install meson
meson setup build \
--default-library=both \
@@ -160,35 +155,14 @@ meson setup build \
-Darrow_cpp_build_type=$cpp_build_type \
-Dgtk_doc=true
LD_LIBRARY_PATH=$PWD/../cpp/build/$cpp_build_type ninja -C build %{?_smp_mflags}
-%else
-./autogen.sh
-%configure \
- --with-arrow-cpp-build-dir=$PWD/../cpp/build \
- --with-arrow-cpp-build-type=$cpp_build_type \
- --enable-gtk-doc
-sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
-sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
-ld_library_path=$PWD/arrow-glib/.libs/
-ld_library_path=$ld_library_path:$PWD/arrow-dataset-glib/.libs/
-ld_library_path=$ld_library_path:$PWD/parquet-glib/.libs/
-ld_library_path=$ld_library_path:$PWD/plasma-glib/.libs/
-ld_library_path=$ld_library_path:$PWD/../cpp/build/$cpp_build_type
-LD_LIBRARY_PATH=$ld_library_path make %{?_smp_mflags}
-%endif
cd -
%install
cpp_build_type=release
cd c_glib
-%if %{use_meson}
DESTDIR=$RPM_BUILD_ROOT ninja -C build install
ninja -C build clean
-%else
-make install DESTDIR=$RPM_BUILD_ROOT
-rm $RPM_BUILD_ROOT%{_libdir}/*.la
-make clean
-%endif
cd -
cd cpp/build
diff --git a/dev/tasks/linux-packages/apache-arrow/yum/centos-7/Dockerfile b/dev/tasks/linux-packages/apache-arrow/yum/centos-7/Dockerfile
index a218b4184f..8c6c9d66d2 100644
--- a/dev/tasks/linux-packages/apache-arrow/yum/centos-7/Dockerfile
+++ b/dev/tasks/linux-packages/apache-arrow/yum/centos-7/Dockerfile
@@ -28,11 +28,11 @@ RUN \
yum install -y ${quiet} epel-release && \
yum groupinstall -y ${quiet} "Development Tools" && \
yum install -y ${quiet} \
- autoconf-archive \
bison \
boost169-devel \
brotli-devel \
bzip2-devel \
+ ccache \
cmake3 \
flex \
gflags-devel \
@@ -42,6 +42,7 @@ RUN \
gtk-doc \
libzstd-devel \
lz4-devel \
+ ninja-build \
openssl-devel \
pkg-config \
python36 \
diff --git a/dev/tasks/linux-packages/apache-arrow/yum/centos-8/Dockerfile b/dev/tasks/linux-packages/apache-arrow/yum/centos-8/Dockerfile
index fdbf910e39..66c435c333 100644
--- a/dev/tasks/linux-packages/apache-arrow/yum/centos-8/Dockerfile
+++ b/dev/tasks/linux-packages/apache-arrow/yum/centos-8/Dockerfile
@@ -30,6 +30,7 @@ RUN \
boost-devel \
brotli-devel \
bzip2-devel \
+ ccache \
clang \
cmake \
curl-devel \
diff --git a/dev/tasks/linux-packages/apt/build.sh b/dev/tasks/linux-packages/apt/build.sh
index dab579505e..73538e7e8d 100755
--- a/dev/tasks/linux-packages/apt/build.sh
+++ b/dev/tasks/linux-packages/apt/build.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# -*- sh-indentation: 2; sh-basic-offset: 2 -*-
#
# Licensed to the Apache Software Foundation (ASF) under one
@@ -45,10 +45,30 @@ case "${distribution}" in
esac
architecture=$(dpkg-architecture -q DEB_BUILD_ARCH)
-run mkdir -p build
+debuild_options=()
+dpkg_buildpackage_options=(-us -uc)
+
+run mkdir -p /build
+run cd /build
+find . -not -path ./ccache -a -not -path "./ccache/*" -delete
+if which ccache > /dev/null 2>&1; then
+ export CCACHE_COMPILERCHECK=content
+ export CCACHE_COMPRESS=1
+ export CCACHE_COMPRESSLEVEL=6
+ export CCACHE_DIR="${PWD}/ccache"
+ export CCACHE_MAXSIZE=500M
+ ccache --show-stats
+ debuild_options+=(-eCCACHE_COMPILERCHECK)
+ debuild_options+=(-eCCACHE_COMPRESS)
+ debuild_options+=(-eCCACHE_COMPRESSLEVEL)
+ debuild_options+=(-eCCACHE_DIR)
+ debuild_options+=(-eCCACHE_MAXSIZE)
+ if [ -d /usr/lib/ccache ] ;then
+ debuild_options+=(--prepend-path=/usr/lib/ccache)
+ fi
+fi
run cp /host/tmp/${PACKAGE}-${VERSION}.tar.gz \
- build/${PACKAGE}_${VERSION}.orig.tar.gz
-run cd build
+ ${PACKAGE}_${VERSION}.orig.tar.gz
run tar xfz ${PACKAGE}_${VERSION}.orig.tar.gz
case "${VERSION}" in
*~dev*)
@@ -73,9 +93,12 @@ fi
# DEB_BUILD_OPTIONS="${DEB_BUILD_OPTIONS} noopt"
export DEB_BUILD_OPTIONS
if [ "${DEBUG:-no}" = "yes" ]; then
- run debuild -us -uc
+ run debuild "${debuild_options[@]}" "${dpkg_buildpackage_options[@]}"
else
- run debuild -us -uc > /dev/null
+ run debuild "${debuild_options[@]}" "${dpkg_buildpackage_options[@]}" > /dev/null
+fi
+if which ccache > /dev/null 2>&1; then
+ ccache --show-stats
fi
run cd -
diff --git a/dev/tasks/linux-packages/github.linux.amd64.yml b/dev/tasks/linux-packages/github.linux.amd64.yml
index 8e0c5018cb..1335a979f4 100644
--- a/dev/tasks/linux-packages/github.linux.amd64.yml
+++ b/dev/tasks/linux-packages/github.linux.amd64.yml
@@ -40,6 +40,12 @@ jobs:
- name: Free Up Disk Space
shell: bash
run: arrow/ci/scripts/util_cleanup.sh
+ - name: Cache ccache
+ uses: actions/cache@v2
+ with:
+ path: arrow/dev/tasks/linux-packages/apache-arrow/{{ task_namespace }}/build/{{ target }}/ccache
+ key: linux-{{ task_namespace }}-ccache-{{ target }}-{{ "${{ hashFiles('arrow/cpp/**') }}" }}
+ restore-keys: linux-{{ task_namespace }}-ccache-{{ target }}-
- name: Build
run: |
set -e
diff --git a/dev/tasks/linux-packages/package-task.rb b/dev/tasks/linux-packages/package-task.rb
index 0cd98f397c..ecb9cea646 100644
--- a/dev/tasks/linux-packages/package-task.rb
+++ b/dev/tasks/linux-packages/package-task.rb
@@ -356,6 +356,7 @@ VERSION=#{@deb_upstream_version}
end
namespace :build do
+ desc "Open console"
task :console => build_dependencies do
apt_build(console: true) if enable_apt?
end
@@ -489,6 +490,7 @@ RELEASE=#{@rpm_release}
end
namespace :build do
+ desc "Open console"
task :console => build_dependencies do
yum_build(console: true) if enable_yum?
end
diff --git a/dev/tasks/linux-packages/yum/build.sh b/dev/tasks/linux-packages/yum/build.sh
index 88a2cf568e..01746803ad 100755
--- a/dev/tasks/linux-packages/yum/build.sh
+++ b/dev/tasks/linux-packages/yum/build.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# -*- sh-indentation: 2; sh-basic-offset: 2 -*-
#
# Licensed to the Apache Software Foundation (ASF) under one
@@ -42,23 +42,40 @@ fi
distribution_version=$(echo ${distribution_version} | sed -e 's/\..*$//g')
architecture="$(arch)"
+lib_directory=/usr/lib64
case "${architecture}" in
i*86)
architecture=i386
+ lib_directory=/usr/lib
;;
esac
-cd
+run mkdir -p /build
+run cd /build
+find . -not -path ./ccache -a -not -path "./ccache/*" -delete
+if which ccache > /dev/null 2>&1; then
+ export CCACHE_COMPILERCHECK=content
+ export CCACHE_COMPRESS=1
+ export CCACHE_COMPRESSLEVEL=6
+ export CCACHE_MAXSIZE=500M
+ export CCACHE_DIR="${PWD}/ccache"
+ ccache --show-stats
+ if [ -d "${lib_directory}/ccache" ]; then
+ PATH="${lib_directory}/ccache:$PATH"
+ fi
+fi
-run mkdir -p /build/rpmbuild
+run mkdir -p rpmbuild
+run cd
+rm -rf rpmbuild
run ln -fs /build/rpmbuild ./
if [ -x /usr/bin/rpmdev-setuptree ]; then
rm -rf .rpmmacros
run rpmdev-setuptree
else
- run cat <<EOM > ~/.rpmmacros
+ run cat <<RPMMACROS > ~/.rpmmacros
%_topdir ${HOME}/rpmbuild
-EOM
+RPMMACROS
run mkdir -p rpmbuild/SOURCES
run mkdir -p rpmbuild/SPECS
run mkdir -p rpmbuild/BUILD
@@ -130,6 +147,10 @@ else
fi
fi
+if which ccache > /dev/null 2>&1; then
+ ccache --show-stats
+fi
+
run mv rpmbuild/RPMS/*/* "${rpm_dir}/"
run mv rpmbuild/SRPMS/* "${srpm_dir}/"