diff options
author | Dongkyun Son <dongkyun.s@samsung.com> | 2024-08-10 18:36:23 +0900 |
---|---|---|
committer | Dongkyun Son <dongkyun.s@samsung.com> | 2024-08-10 18:36:23 +0900 |
commit | d5cb03c355a8c7aa4bf6cabc5a05571063f00dd6 (patch) | |
tree | 80ca03e14db8982e25f8dbd3205e46a79674ce35 | |
parent | 8c824929a311b637eaa304b060fe56982d1e445e (diff) | |
download | qemu-accel-d5cb03c355a8c7aa4bf6cabc5a05571063f00dd6.tar.gz qemu-accel-d5cb03c355a8c7aa4bf6cabc5a05571063f00dd6.tar.bz2 qemu-accel-d5cb03c355a8c7aa4bf6cabc5a05571063f00dd6.zip |
Revert "Add guile acceleration support"accepted/tizen/base/x/asan/20240812.014457tizen_base_dev_asanaccepted/tizen_base_x_asan
This reverts commit 6b0810fe3da396c471f2f25d0f2e9b5cd6274318.
Change-Id: I7258656902ad7b8d88ceb349af4d2680209dfd26
-rw-r--r-- | packaging/qemu-accel-aarch64.spec | 53 | ||||
-rw-r--r-- | packaging/qemu-accel-armv7hl.spec | 53 | ||||
-rw-r--r-- | packaging/qemu-accel-armv7l.spec | 53 | ||||
-rw-r--r-- | packaging/qemu-accel-riscv64.spec | 53 | ||||
-rw-r--r-- | packaging/qemu-accel.spec.in | 53 |
5 files changed, 5 insertions, 260 deletions
diff --git a/packaging/qemu-accel-aarch64.spec b/packaging/qemu-accel-aarch64.spec index c8c48c2..656176f 100644 --- a/packaging/qemu-accel-aarch64.spec +++ b/packaging/qemu-accel-aarch64.spec @@ -86,49 +86,8 @@ ExclusiveArch: x86_64 BuildRequires: libgcc-32bit BuildRequires: glibc-32bit %define multilib 1 -%if 0%{?armv7l} -# 32bit guile is required for armv7l and armv7hl builds -BuildRequires: guile-32bit -BuildConflicts: guile %endif -%if 0%{?armv7hl} -# 32bit guile is required for armv7l and armv7hl builds -BuildRequires: guile-32bit -BuildConflicts: guile -%endif -%if 0%{?aarch64} -# 64bit guile is used for aarch64 -BuildRequires: guile -BuildConflicts: guile-32bit -%endif -%if 0%{?riscv64} -# 64bit guile is used for riscv64 -BuildRequires: guile -BuildConflicts: guile-32bit -%endif -%else # x86_64 -%if 0%{?aarch64} -# 64bit guile is required for aarch64 build -BuildRequires: guile-64bit -BuildConflicts: guile -%endif -%if 0%{?riscv64} -# 64bit guile is required for riscv64 build -BuildRequires: guile-64bit -BuildConflicts: guile -%endif -%if 0%{?armv7l} -# 32bit guile is used for armv7l and armv7hl builds -BuildRequires: guile -BuildConflicts: guile-64bit -%endif -%if 0%{?armv7hl} -# 32bit guile is used for armv7l and armv7hl builds -BuildRequires: guile -BuildConflicts: guile-64bit -%endif -%endif -BuildRequires: guile-modules + %description This package is used in %{cross} architecture builds using qemu to speed up builds with native binaries. @@ -241,7 +200,6 @@ for executable in %{emul_path}$LD \ %{_rpmconfigdir}/debugedit \ %{_rpmconfigdir}/*deps \ %{_libdir}/{libunwind*.so*,libuuid*.so*} \ - %{_bindir}/guile \ %{_bindir}/localedef do binaries="$binaries $executable" @@ -534,15 +492,6 @@ echo "%{emul_path}${gcc_build_dir}/gcc/xg++" >> %{_sourcedir}/all-accel.list ln -sf %{emul_path}%{_bindir}/cpp ${buildroot_emul_path}/usr/lib/cpp echo '%{emul_path}/usr/lib/cpp' >> %{_sourcedir}/all-accel.list -## guile acceleration -# we need to accelerate guile build -export GUILE_AUTO_COMPILE=0 -guile_version=$(guile --version | sed -ne '/^guile/s/.*)[[:space:]]\+//p') -guile_build_dir=%{_builddir}/guile-${guile_version}/libguile -mkdir -p ${buildroot_emul_path}${guile_build_dir} -ln -sf %{emul_path}%{_bindir}/guile ${buildroot_emul_path}${guile_build_dir}/guile -echo "%{emul_path}${guile_build_dir}/guile" >> %{_sourcedir}/all-accel.list - # generate baselibs.conf for current architecture to prevent rpm overwriting in download repo echo %{cross} cat > %{_sourcedir}/baselibs_prologue << EOF diff --git a/packaging/qemu-accel-armv7hl.spec b/packaging/qemu-accel-armv7hl.spec index 6b068fe..1b1e5b1 100644 --- a/packaging/qemu-accel-armv7hl.spec +++ b/packaging/qemu-accel-armv7hl.spec @@ -86,49 +86,8 @@ ExclusiveArch: x86_64 BuildRequires: libgcc-32bit BuildRequires: glibc-32bit %define multilib 1 -%if 0%{?armv7l} -# 32bit guile is required for armv7l and armv7hl builds -BuildRequires: guile-32bit -BuildConflicts: guile %endif -%if 0%{?armv7hl} -# 32bit guile is required for armv7l and armv7hl builds -BuildRequires: guile-32bit -BuildConflicts: guile -%endif -%if 0%{?aarch64} -# 64bit guile is used for aarch64 -BuildRequires: guile -BuildConflicts: guile-32bit -%endif -%if 0%{?riscv64} -# 64bit guile is used for riscv64 -BuildRequires: guile -BuildConflicts: guile-32bit -%endif -%else # x86_64 -%if 0%{?aarch64} -# 64bit guile is required for aarch64 build -BuildRequires: guile-64bit -BuildConflicts: guile -%endif -%if 0%{?riscv64} -# 64bit guile is required for riscv64 build -BuildRequires: guile-64bit -BuildConflicts: guile -%endif -%if 0%{?armv7l} -# 32bit guile is used for armv7l and armv7hl builds -BuildRequires: guile -BuildConflicts: guile-64bit -%endif -%if 0%{?armv7hl} -# 32bit guile is used for armv7l and armv7hl builds -BuildRequires: guile -BuildConflicts: guile-64bit -%endif -%endif -BuildRequires: guile-modules + %description This package is used in %{cross} architecture builds using qemu to speed up builds with native binaries. @@ -241,7 +200,6 @@ for executable in %{emul_path}$LD \ %{_rpmconfigdir}/debugedit \ %{_rpmconfigdir}/*deps \ %{_libdir}/{libunwind*.so*,libuuid*.so*} \ - %{_bindir}/guile \ %{_bindir}/localedef do binaries="$binaries $executable" @@ -534,15 +492,6 @@ echo "%{emul_path}${gcc_build_dir}/gcc/xg++" >> %{_sourcedir}/all-accel.list ln -sf %{emul_path}%{_bindir}/cpp ${buildroot_emul_path}/usr/lib/cpp echo '%{emul_path}/usr/lib/cpp' >> %{_sourcedir}/all-accel.list -## guile acceleration -# we need to accelerate guile build -export GUILE_AUTO_COMPILE=0 -guile_version=$(guile --version | sed -ne '/^guile/s/.*)[[:space:]]\+//p') -guile_build_dir=%{_builddir}/guile-${guile_version}/libguile -mkdir -p ${buildroot_emul_path}${guile_build_dir} -ln -sf %{emul_path}%{_bindir}/guile ${buildroot_emul_path}${guile_build_dir}/guile -echo "%{emul_path}${guile_build_dir}/guile" >> %{_sourcedir}/all-accel.list - # generate baselibs.conf for current architecture to prevent rpm overwriting in download repo echo %{cross} cat > %{_sourcedir}/baselibs_prologue << EOF diff --git a/packaging/qemu-accel-armv7l.spec b/packaging/qemu-accel-armv7l.spec index 3a20896..1b04f87 100644 --- a/packaging/qemu-accel-armv7l.spec +++ b/packaging/qemu-accel-armv7l.spec @@ -86,49 +86,8 @@ ExclusiveArch: x86_64 BuildRequires: libgcc-32bit BuildRequires: glibc-32bit %define multilib 1 -%if 0%{?armv7l} -# 32bit guile is required for armv7l and armv7hl builds -BuildRequires: guile-32bit -BuildConflicts: guile %endif -%if 0%{?armv7hl} -# 32bit guile is required for armv7l and armv7hl builds -BuildRequires: guile-32bit -BuildConflicts: guile -%endif -%if 0%{?aarch64} -# 64bit guile is used for aarch64 -BuildRequires: guile -BuildConflicts: guile-32bit -%endif -%if 0%{?riscv64} -# 64bit guile is used for riscv64 -BuildRequires: guile -BuildConflicts: guile-32bit -%endif -%else # x86_64 -%if 0%{?aarch64} -# 64bit guile is required for aarch64 build -BuildRequires: guile-64bit -BuildConflicts: guile -%endif -%if 0%{?riscv64} -# 64bit guile is required for riscv64 build -BuildRequires: guile-64bit -BuildConflicts: guile -%endif -%if 0%{?armv7l} -# 32bit guile is used for armv7l and armv7hl builds -BuildRequires: guile -BuildConflicts: guile-64bit -%endif -%if 0%{?armv7hl} -# 32bit guile is used for armv7l and armv7hl builds -BuildRequires: guile -BuildConflicts: guile-64bit -%endif -%endif -BuildRequires: guile-modules + %description This package is used in %{cross} architecture builds using qemu to speed up builds with native binaries. @@ -241,7 +200,6 @@ for executable in %{emul_path}$LD \ %{_rpmconfigdir}/debugedit \ %{_rpmconfigdir}/*deps \ %{_libdir}/{libunwind*.so*,libuuid*.so*} \ - %{_bindir}/guile \ %{_bindir}/localedef do binaries="$binaries $executable" @@ -534,15 +492,6 @@ echo "%{emul_path}${gcc_build_dir}/gcc/xg++" >> %{_sourcedir}/all-accel.list ln -sf %{emul_path}%{_bindir}/cpp ${buildroot_emul_path}/usr/lib/cpp echo '%{emul_path}/usr/lib/cpp' >> %{_sourcedir}/all-accel.list -## guile acceleration -# we need to accelerate guile build -export GUILE_AUTO_COMPILE=0 -guile_version=$(guile --version | sed -ne '/^guile/s/.*)[[:space:]]\+//p') -guile_build_dir=%{_builddir}/guile-${guile_version}/libguile -mkdir -p ${buildroot_emul_path}${guile_build_dir} -ln -sf %{emul_path}%{_bindir}/guile ${buildroot_emul_path}${guile_build_dir}/guile -echo "%{emul_path}${guile_build_dir}/guile" >> %{_sourcedir}/all-accel.list - # generate baselibs.conf for current architecture to prevent rpm overwriting in download repo echo %{cross} cat > %{_sourcedir}/baselibs_prologue << EOF diff --git a/packaging/qemu-accel-riscv64.spec b/packaging/qemu-accel-riscv64.spec index a00fab2..33412b8 100644 --- a/packaging/qemu-accel-riscv64.spec +++ b/packaging/qemu-accel-riscv64.spec @@ -86,49 +86,8 @@ ExclusiveArch: x86_64 BuildRequires: libgcc-32bit BuildRequires: glibc-32bit %define multilib 1 -%if 0%{?armv7l} -# 32bit guile is required for armv7l and armv7hl builds -BuildRequires: guile-32bit -BuildConflicts: guile %endif -%if 0%{?armv7hl} -# 32bit guile is required for armv7l and armv7hl builds -BuildRequires: guile-32bit -BuildConflicts: guile -%endif -%if 0%{?aarch64} -# 64bit guile is used for aarch64 -BuildRequires: guile -BuildConflicts: guile-32bit -%endif -%if 0%{?riscv64} -# 64bit guile is used for riscv64 -BuildRequires: guile -BuildConflicts: guile-32bit -%endif -%else # x86_64 -%if 0%{?aarch64} -# 64bit guile is required for aarch64 build -BuildRequires: guile-64bit -BuildConflicts: guile -%endif -%if 0%{?riscv64} -# 64bit guile is required for riscv64 build -BuildRequires: guile-64bit -BuildConflicts: guile -%endif -%if 0%{?armv7l} -# 32bit guile is used for armv7l and armv7hl builds -BuildRequires: guile -BuildConflicts: guile-64bit -%endif -%if 0%{?armv7hl} -# 32bit guile is used for armv7l and armv7hl builds -BuildRequires: guile -BuildConflicts: guile-64bit -%endif -%endif -BuildRequires: guile-modules + %description This package is used in %{cross} architecture builds using qemu to speed up builds with native binaries. @@ -241,7 +200,6 @@ for executable in %{emul_path}$LD \ %{_rpmconfigdir}/debugedit \ %{_rpmconfigdir}/*deps \ %{_libdir}/{libunwind*.so*,libuuid*.so*} \ - %{_bindir}/guile \ %{_bindir}/localedef do binaries="$binaries $executable" @@ -534,15 +492,6 @@ echo "%{emul_path}${gcc_build_dir}/gcc/xg++" >> %{_sourcedir}/all-accel.list ln -sf %{emul_path}%{_bindir}/cpp ${buildroot_emul_path}/usr/lib/cpp echo '%{emul_path}/usr/lib/cpp' >> %{_sourcedir}/all-accel.list -## guile acceleration -# we need to accelerate guile build -export GUILE_AUTO_COMPILE=0 -guile_version=$(guile --version | sed -ne '/^guile/s/.*)[[:space:]]\+//p') -guile_build_dir=%{_builddir}/guile-${guile_version}/libguile -mkdir -p ${buildroot_emul_path}${guile_build_dir} -ln -sf %{emul_path}%{_bindir}/guile ${buildroot_emul_path}${guile_build_dir}/guile -echo "%{emul_path}${guile_build_dir}/guile" >> %{_sourcedir}/all-accel.list - # generate baselibs.conf for current architecture to prevent rpm overwriting in download repo echo %{cross} cat > %{_sourcedir}/baselibs_prologue << EOF diff --git a/packaging/qemu-accel.spec.in b/packaging/qemu-accel.spec.in index c3e4d1b..475b34e 100644 --- a/packaging/qemu-accel.spec.in +++ b/packaging/qemu-accel.spec.in @@ -83,49 +83,8 @@ ExclusiveArch: x86_64 BuildRequires: libgcc-32bit BuildRequires: glibc-32bit %define multilib 1 -%if 0%{?armv7l} -# 32bit guile is required for armv7l and armv7hl builds -BuildRequires: guile-32bit -BuildConflicts: guile %endif -%if 0%{?armv7hl} -# 32bit guile is required for armv7l and armv7hl builds -BuildRequires: guile-32bit -BuildConflicts: guile -%endif -%if 0%{?aarch64} -# 64bit guile is used for aarch64 -BuildRequires: guile -BuildConflicts: guile-32bit -%endif -%if 0%{?riscv64} -# 64bit guile is used for riscv64 -BuildRequires: guile -BuildConflicts: guile-32bit -%endif -%else # x86_64 -%if 0%{?aarch64} -# 64bit guile is required for aarch64 build -BuildRequires: guile-64bit -BuildConflicts: guile -%endif -%if 0%{?riscv64} -# 64bit guile is required for riscv64 build -BuildRequires: guile-64bit -BuildConflicts: guile -%endif -%if 0%{?armv7l} -# 32bit guile is used for armv7l and armv7hl builds -BuildRequires: guile -BuildConflicts: guile-64bit -%endif -%if 0%{?armv7hl} -# 32bit guile is used for armv7l and armv7hl builds -BuildRequires: guile -BuildConflicts: guile-64bit -%endif -%endif -BuildRequires: guile-modules + %description This package is used in %{cross} architecture builds using qemu to speed up builds with native binaries. @@ -238,7 +197,6 @@ for executable in %{emul_path}$LD \ %{_rpmconfigdir}/debugedit \ %{_rpmconfigdir}/*deps \ %{_libdir}/{libunwind*.so*,libuuid*.so*} \ - %{_bindir}/guile \ %{_bindir}/localedef do binaries="$binaries $executable" @@ -531,15 +489,6 @@ echo "%{emul_path}${gcc_build_dir}/gcc/xg++" >> %{_sourcedir}/all-accel.list ln -sf %{emul_path}%{_bindir}/cpp ${buildroot_emul_path}/usr/lib/cpp echo '%{emul_path}/usr/lib/cpp' >> %{_sourcedir}/all-accel.list -## guile acceleration -# we need to accelerate guile build -export GUILE_AUTO_COMPILE=0 -guile_version=$(guile --version | sed -ne '/^guile/s/.*)[[:space:]]\+//p') -guile_build_dir=%{_builddir}/guile-${guile_version}/libguile -mkdir -p ${buildroot_emul_path}${guile_build_dir} -ln -sf %{emul_path}%{_bindir}/guile ${buildroot_emul_path}${guile_build_dir}/guile -echo "%{emul_path}${guile_build_dir}/guile" >> %{_sourcedir}/all-accel.list - # generate baselibs.conf for current architecture to prevent rpm overwriting in download repo echo %{cross} cat > %{_sourcedir}/baselibs_prologue << EOF |