summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-07-09fixed build error with upgraded rpm 4.14sandbox/dnxowls/rpm_upgradebiao716.wang4-4/+12
remove exec.so form qemu-accel, and add new plugin so file. Change-Id: I824636c142ffedb1fb6b2f3b46f7fdbefdbe333b
2018-04-03Remove mono accelerationsubmit/tizen_base/20180403.124245accepted/tizen/base/20180406.180252Wonyoung Choi4-12/+0
Change-Id: I5dbdb5a0aaa979944f0985bc8a835556662060f1
2017-10-19packaging: fix 'No such file or directory' error when preinstall phasesubmit/tizen_base/20171024.003248accepted/tizen/base/20171027.152138Chan Lee3-9/+9
When the postinstall scriptlet runs in preinstall phase, creating symbolic link is failed because gcc which provides liblto_plugin.so is not installed at this time. [ 2s] [26/44] preinstalling qemu-accel-x86_64-armv7l... ... [ 24s] running qemu-accel-x86_64-armv7l postinstall script [ 24s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/liblto_plugin.so': No such file or directory Change-Id: If601da8dd8a8b6ae344a7d579e8821ccfa4918ce Signed-off-by: Chan Lee <chan45.lee@samsung.com>
2017-10-16Add armv7hl support.Michail Kashkarov6-10/+542
Disable bash acceleration for armv7hl due to corruption. Added "%define _rpm_strip_disable 1" (disable strip debug info from final binaries) due to patchelf corrupting elf file sections in armv7hl binaries. (This is temporary fix until we'll find working alternative.) Change-Id: Iee6166a333e1fa18aa0c01fe1a52929eb89caf90
2017-09-28Add LeakSanitizer support.Michail Kashkarov3-0/+3
Change-Id: Iabb0e8e024fc90f99cae1b866af6c9552e27e3e2
2017-08-10Unforce options in ASan projectssubmit/tizen_base/20170830.083645accepted/tizen/base/20170908.223814Slava Barinov3-18/+9
gcc_force_options replaces compiler binaries with scripts and therefore these binaries can't be successfully packed into rpm package. Change-Id: I14cc613a0d17d7eae805f67e957ce392f7a56eaa Signed-off-by: Slava Barinov <v.barinov@samsung.com>
2017-08-01Remove ld.so from /emul to prevent name clashingsubmit/tizen_base/20170802.001517submit/tizen_4.0_base/20170828.000001submit/tizen_4.0_base/20170828.000000submit/tizen_4.0_base/20170811.071500accepted/tizen/base/20170804.132512accepted/tizen/4.0/base/20170828.221341accepted/tizen/4.0/base/20170811.093039Slava Barinov3-0/+12
In certain cases (e.g. qemu-accel-aarch64 on x86_64 host) ld-2.24.so from /emul can be executed instead of native one, this break `ldd' tool. Change-Id: Ibb21d9356f9770d23b12ac94c38c9228cef618b6 Signed-off-by: Slava Barinov <v.barinov@samsung.com>
2017-07-24Refactor packaging to use file listssubmit/tizen_base/20170727.125526accepted/tizen/base/20170728.205718Slava Barinov4-90/+400
Now the packaging section uses explicit file lists to package needed files only. Clang acceleration moved to to separate clang-accel package in order to reduce qemu-accel size, all python files moved to python-accel package. Change-Id: I19f59fa3403ca8c61d6d33ad526efe1d21d328f0 Signed-off-by: Slava Barinov <v.barinov@samsung.com>
2017-06-19Add clang acceleration supportsubmit/tizen_base/20170801.052130submit/tizen_base/20170705.023439submit/tizen_base/20170622.094219accepted/tizen/base/20170801.052539accepted/tizen/base/20170707.183518Slava Barinov3-24/+33
Change-Id: I0c311a865a73cf9959cc99ed2af3548cfe248312 Signed-off-by: Slava Barinov <v.barinov@samsung.com>
2017-06-01packaging: fix rpm scriptlet errorsubmit/tizen_base/20170609.084421accepted/tizen/base/20170609.214703Chan Lee3-3/+3
One line bash condition in a rpm script could cause scriptlet error like below, "warning: %post(qemu-accel-XXXX) scriptlet failed, exit status 1" because '[ ]' returns with 1 exit status when the expression parameter is false. You can refer to following page, https://en.wikipedia.org/wiki/Test_(Unix)#Exit_status Currently the condition is useless so it could be removed. Change-Id: I25ae94ec7ad1f98bd84a127ea8a6a5c7aab21e32 Signed-off-by: Chan Lee <chan45.lee@samsung.com>
2017-04-20Force baselibs.conf to generate only rpm for current archtizen_4.0.m1_releasesubmit/tizen_base/20170420.125851accepted/tizen/base/20170421.042322Slava Barinov4-4/+30
When there is no aarch64 repository in project overwriting of armv7l rpm with aarch64 is possible. To prevent that the unneeded rpms should not be generated at all. Change-Id: Ieaefaf0276976582e04f0663aed80b24c712e541 Signed-off-by: Slava Barinov <v.barinov@samsung.com>
2017-03-28packaging: add libgcc-32bit for multilib supportsubmit/tizen_base/20170414.080151accepted/tizen/base/20170414.164503Chan Lee3-3/+39
Some packages need to use libgcc-32bit on 64bit build environment such as nacl toolchain. Change-Id: I07c08ec4add0637ada256c9bda004b7a503fc861 Signed-off-by: Chan Lee <chan45.lee@samsung.com>
2017-03-28Merge "Stop patching libc.so with patchelf" into tizen_baseChan Lee3-3/+3
2017-03-24Stop patching libc.so with patchelfSlava Barinov3-15/+15
Libraries shouldn't be patched, only executables should. Change-Id: I3a232d4b40ae61f8b9aab15dae0f884c63b5c47c Signed-off-by: Slava Barinov <v.barinov@samsung.com>
2017-03-20Fix bug in patch_binary functionSlava Barinov3-12/+12
The 'continue' won't work inside function, it must be replaced with 'return'. Change-Id: Ib83796bdbdf5bbab6b3745744a97e0d301ce1767 Signed-off-by: Slava Barinov <v.barinov@samsung.com>
2017-02-21Add multilib support for x86_64submit/tizen_base/20170224.074011accepted/tizen/base/20170227.043256Slava Barinov3-81/+195
Now the package supports running i686 binaries in x86_64 environment. In order to prevent name clashing between i686 and armv7l ld-${version}.so binaries the i686 one is renamed to ld-${version}-i686.so in /emul/. The i686 binaries interpreter is set to /emul/lib/ld-linux.so.2 by default. Change-Id: Idb9487e765be375bf81e4c841e5425e3332949e6 Signed-off-by: Slava Barinov <v.barinov@samsung.com>
2016-12-20Add libunwind and libuuid accelerationsubmit/tizen_base/20161221.071453accepted/tizen/base/20161223.094615Jiyoung Yun3-3/+12
The above two modules are needed to build .NET Core(CoreCLR, CoreFX). Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com> Change-Id: Ic59861aaabeab9a459f7ef3a0f0d2e34aebe4bc7
2016-12-08Add mono accelerationsubmit/tizen_base/20161208.051244accepted/tizen/base/20161209.100320Jiyoung Yun3-3/+12
Mono is an open source implementation of Microsoft's .NET Framework. C# APIs execute mono when extracting dll files from nupkg but the mono binary for armv7l is unstable on qemu and the performance is very low. So we add mono to qemu-accel to accelerate build. Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com> Change-Id: Ia9e60bc673a5259df9e96f85aa9687fe488b4bbd
2016-11-30packaging: add rpm-build and cpio executablessubmit/tizen_base/20161130.013923accepted/tizen/base/20161202.013145Chan Lee3-3/+9
Change-Id: I833dc8c758087060902ea5e0d4521fa04ab17b10 Signed-off-by: Chan Lee <chan45.lee@samsung.com>
2016-11-22Fix SCons library path for proper AArch64 supportsubmit/tizen_base/20161124.040458accepted/tizen/base/20161125.021329Slava Barinov3-3/+3
This will enable support for accelerated AArch64 SCons builds until the filesystem and glibc get the proper fix. Change-Id: I8578710fc849f4499006d46280162720d470c38c Signed-off-by: Slava Barinov <v.barinov@samsung.com>
2016-10-31Add suffix to the name of accel binaries:submit/tizen_base/20161109.120921accepted/tizen/base/20161110.085405sandbox/pavelkopyl/bitness_suffixPavel Kopyl1-0/+2
1. "-x86" for 32-bit 2. "-x86_64" for 64-bit Also keep binaries with old names. Change-Id: Id625d1215ecd5729455f7d2c97ea62b2c9b62799 Signed-off-by: Pavel Kopyl <p.kopyl@samsung.com>
2016-09-08Add /usr/bin/iceccsubmit/tizen_base/20160909.081609submit/tizen_3.0_base/20161028.062326accepted/tizen/base/20160909.122615accepted/tizen/3.0/base/20161028.103413Julien Isorce3-0/+9
Since Tizen 3.0, all toolchains/*-x86 have moved to qemul-accel bi-arch package. Excepted for icecream-x86 which was not moved yet. https://review.tizen.org/git/?p=toolchains/icecream-x86.git This is required to make icecc working with gbs build -A armv7l. gbs build -A i586 --baselibs will generate bi-arch qemu-accel-armv7l-0.4-0.armv7l.rpm JIRA: https://bugs.tizen.org/jira/browse/TINF-1414 See also https://bugs.tizen.org/jira/browse/DEVT-22 Change-Id: Idaf253b13f3a93da50d3e6b0eb8728d05df6cf2f Signed-off-by: Julien Isorce <j.isorce@samsung.com>
2016-07-22packaging : Support Scons symlinks to accelerate the buildsubmit/tizen_base/20160726.082820accepted/tizen/base/20160805.171251Yonghee Han3-0/+9
Change-Id: Iaa0851b4da54d1317168fee52858c0245c649968
2016-06-07Merge "Add support for toolchain with sanitizers support" into tizen_basesubmit/tizen_base/20160608.005905accepted/tizen/base/20160608.180438Yonghee Han3-3/+60
2016-06-07Merge "Add /bin/ls and /bin/readlink" into tizen_baseYonghee Han3-3/+3
2016-06-07Add support for toolchain with sanitizers supportSlava Barinov3-3/+60
Since Tizen toolchain with sanitizers enabled uses {c++,g++,gcc}-real files the acceleration is needed for them. The check before 'objdump' added to prevent acceleration of shell scripts since this is useless and the bash is already accelerated. All sanitizer libraries (e.g. libasan.so) are packaged always since they are needed for applying sanitizer to single package, not only the case of sull project sanitization. Change-Id: Iec1ca5f426f3354d442858b47381a3bca55ac440 Signed-off-by: Slava Barinov <v.barinov@samsung.com>
2016-05-19Ignoring non-existent files during buildVyacheslav Barinov3-4/+7
Now the qemu-accel package can be used even if dependencies changed. Discovered during switching off msm.so plugin. Conflicts: packaging/qemu-accel-aarch64.spec packaging/qemu-accel-armv7l.spec packaging/qemu-accel.spec.in Change-Id: Iea4b9849a28ba2f3aed18d46e97a61819359d62d Signed-off-by: Vyacheslav Barinov <v.barinov@samsung.com>
2016-05-11Add /bin/ls and /bin/readlinkSlava Barinov3-4/+4
The readlink tool is called on every single run of gcc and works very slow on arm64 platform now. Native arm64 ls is also slow under our qemu but is widely used during build. Change-Id: I46a0e055e35a93ee58d797ca87da0ed4748e352d Signed-off-by: Slava Barinov <v.barinov@samsung.com>
2016-02-11Merge "packaging: Remove gfortran and f951, because gcc doesn't generate ↵submit/tizen_base/20160215.073227accepted/tizen/base/20160219.170548Dongkyun Son3-15/+15
them anymore." into tizen_base
2016-02-12packaging: Remove gfortran and f951, because gcc doesn't generate them anymore.Hyung-Kyu (HQ) Choi3-15/+15
This patch should be applied together with gcc patch which disables fortran compiler. Change-Id: Id23924ea1becf7c571b470aaeeea3e8b10cb9c58 Signed-off-by: Hyung-Kyu (HQ) Choi <hk0110.choi@samsung.com>
2016-02-11Revert "packaging: Remove gfortran and f951, because gcc doesn't generate ↵Hyung-Kyu Choi3-15/+15
them anymore." This reverts commit 354bbb298cf040a04e31a1b79bd059985d81a8d9. Change-Id: If48efe84bfd111e12c599a8dde45c3a0bb886083
2016-02-11packaging: Remove gfortran and f951, because gcc doesn't generate them anymore.sandbox/hk0110/disable_fortranHyung-Kyu (HQ) Choi3-15/+15
This patch should be applied together with gcc patch which disables fortran compiler. Change-Id: Ic8899da25a46a78895395baee494a270ae1685c0 Signed-off-by: Hyung-Kyu (HQ) Choi <hk0110.choi@samsung.com>
2016-02-03Revert "add sudo"submit/tizen_base/20160203.060840accepted/tizen/base/20160204.092303Dongkyun, Son3-7/+1
This reverts commit 1586c942c607fda7d1177864387f70e196f05b60. Change-Id: I404ce7ef23f071d87dcbdd713011f695663498fa
2016-02-03Revert "add getfacl/setfacl"Dongkyun, Son4-36/+7
This reverts commit ba4d917b86021948a990336938d4e6876440aa49. Change-Id: I4820d840d9dd9d04e5ab04520fca6aec0738fc7a
2016-01-15add getfacl/setfaclsubmit/tizen_base/20160118.103457accepted/tizen/base/20160119.051952sandbox/dongkyun.s/tizen_baseVyacheslav Barinov4-7/+36
Now all file attributes are saved and restored properly Change-Id: I3059295381c95bde16c983075c215f151f59eba2 Signed-off-by: Vyacheslav Barinov <v.barinov@samsung.com>
2016-01-14add sudoVyacheslav Barinov3-1/+7
Change-Id: I4ace4fe1d420c94c9f2b0db5176b50f7d363468a Signed-off-by: Vyacheslav Barinov <v.barinov@samsung.com>
2016-01-12packaging: renamed qemu-accel.spec -> qemu-accel.spec.inDongkyun, Son2-1/+1
Change-Id: Iec52be29bd1994c8f9db6401f68ca27d9b528198 Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
2016-01-12add BuildRequires: rpmlint-tizenHyungGi Lee3-0/+3
Change-Id: I5ce558e6ffde28c3d2c9f12ae2096af6e6422c05
2016-01-12add find,xargsHyungGi Lee3-3/+6
Change-Id: Ieb93d41a64e2bfe399c0fe3fa74cb0451cb7444d
2016-01-09change python_version check routineHyungGi Lee3-3/+3
Change-Id: Id50936196d559aaa3bfa9176ea580fe213f7c2a0 Signed-off-by: HyungGi Lee <hyunggi.lee@samsung.com>
2016-01-09packaging: removed 'stack' in the excutable listDongkyun, Son3-3/+3
Fix build error caused by elfutils 0.153 Change-Id: Ia026212f548a0b7c5cd5393bfcb51ed62c76090e Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
2016-01-09add /usr/bin/fileHyungGi Lee3-3/+9
/usr/lib/rpm/brp-strip-static-archive is using /usr/bin/file Change-Id: I562639141972959f8f13d49d380be04e4a454256 Signed-off-by: HyungGi Lee <hyunggi.lee@samsung.com>
2016-01-09remove unnecessary spam and add dump of accelerated binaries and packagesYury Usishchev3-9/+48
2015-11-12accelerate python from rpmlint-miniYury Usishchev3-6/+78
2015-10-22Change gcc version parsingYury Usishchev3-3/+3
Linaro gcc have different version line
2015-08-20Add python-accel packageYury Usishchev4-0/+127
Change-Id: I8274d2c96804dada87d78cef097b811c3ce35f5e
2015-08-05Rework packaging for Tizen.sandbox/jolfzverb/mergeYury Usishchev8-992/+439
Change-Id: Ibac85492878e64e6b03c4bc537fe83a26474b226
2015-06-16Fix update-alternatives call in baselibs.confsubmit/tizen_wearable/20150617.000000submit/tizen_tv/20150617.000000submit/tizen_mobile/20150617.000000submit/tizen_common/20150616.131936submit/tizen_3.0.2015.q2_common/20150616.131924submit/tizen/20150616.132010accepted/tizen/wearable/20150617.082247accepted/tizen/tv/20150617.082235accepted/tizen/mobile/20150617.082220accepted/tizen/common/20150616.134547accepted/tizen/3.0.2015.q2/common/20150616.134034tizen_3.0.2015.q2_commonaccepted/tizen_3.0.2015.q2_commonYury Usishchev1-4/+4
Change-Id: I4c61814eebc62fbfb7051bb2ef5a7c4eb84a067b Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
2015-06-16accelerate also pkg-config and filesubmit/tizen_common/20150616.103540submit/tizen_3.0.2015.q2_common/20150616.103558submit/tizen/20150616.103524accepted/tizen/wearable/20150616.105309accepted/tizen/tv/20150616.105258accepted/tizen/mobile/20150616.105244accepted/tizen/common/20150616.104515accepted/tizen/3.0.2015.q2/common/20150616.104458Ilya Palachev1-0/+2
This helps to reduce build time on up to 4 seconds for packages that use cmake build scripts. Since this is a typical use case, a lot of server time will be saved. Also we added one workaround for old mkbaselibs bug in baselibs.conf Change-Id: I523aa90907d27cfcd7887834d09a4b08a3fa5967 Signed-off-by: Ilya Palachev <i.palachev@samsung.com>
2015-06-16Add cmake to accelerate the buildIlya Palachev3-3/+9
Change-Id: I3db1307bc755af87f594e8c5927c649e3e9a342b Signed-off-by: Ilya Palachev <i.palachev@samsung.com>