Projects
Mega:24.03:SP1:Epol
Configuration
Project Config
Sign Up
Log In
Username
Password
Overview
Repositories
Monitor
Requests
Users
Subprojects
Project Config
Attributes
Meta
Status
Pulse
Staging
Project Configuration of Mega:24.03:SP1:Epol
BuildFlags: logidlelimit:36000 %ifarch riscv64 Constraint: sandbox docker # Constraint: sandbox lxc # Constraint: sandbox chroot # Constraint: sandbox qemu Constraint: overwrite:conditions:package rust firefox zookeeper python-dns Constraint: overwrite:sandbox qemu Constraint: overwrite:hardware:jobs 8 Constraint: overwrite:hardware:disk:size unit=G 200 Constraint: overwrite:hardware:memory:size unit=G 14 %endif %ifarch aarch64 Constraint: sandbox chroot Constraint: overwrite:conditions:package clang Constraint: overwrite:sandbox chroot Constraint: overwrite:hardware:jobs 4 %endif %ifarch x86_64 Constraint: sandbox chroot %endif %ifarch aarch64 Constraint: sandbox chroot Preinstall: openssl %endif Preinstall: strace ############## Preinstall ######################## Preinstall: audit-libs ncurses-libs libblkid libfdisk libmount libsmartcols libuuid libatomic Preinstall: libcap-ng iptables-libs libpcap hostname shadow kmod-libs p11-kit Preinstall: acl attr bash coreutils compiler-rt diffutils Preinstall: grep dbus lvm2 sudo kernel-headers Preinstall: libgcc m4 ncurses pam nspr python3-ldb python3-ldb-devel Preinstall: popt readline sed tar zlib Preinstall: pcre pcre-devel pcre2 info libselinux sqlite Preinstall: findutils xz zstd Preinstall: libcap libdb elfutils python3-libxml2 efibootmgr Preinstall: chkconfig util-linux lua dbus dbus-libs Preinstall: libxcrypt libacl systemd-libs rpm rpm-libs openssl-libs xz-libs perl perl-libs Preinstall: nss nss-util nss-softokn audit git Preinstall: perl-Exporter perl-Data-Dumper compat-openssl11-libs file device-mapper Preinstall: perl-constant perl-Getopt-Long perl-Carp perl-Digest-MD5 Preinstall: systemd libgcrypt-devel libgcrypt libgpg-error cryptsetup libsemanage Preinstall: glib2 dnf cmake copy-jdk-configs libffi libffi-devel gobject-introspection iputils iproute net-tools Preinstall: elfutils-extra ima-evm-utils-libs guile-devel libseccomp libtpms libtpms-devel ############## Preinstall ######################## ############## add by pandora ######################## Preinstall: python3-trove-classifiers Preinstall: glib-networking Ignore: python3.11dist(referencing) Substitute: python3.11dist(referencing) Ignore: osgi(org.hamcrest.core) Substitute: rubygem(cucumber-tag_expressions) rubygem(cucumber-tag-expressions) Substitute: rubygem(gherkin) rubygem-gherkin Macros: %ros_distro humble :Macros Preinstall: gcc-c++ cmake python3-setuptools Prefer: yaml-cpp-devel ### 20240510 remove libcurl-devel from preinstalling - jchzhou # Preinstall: bzip2-devel libcurl-devel expat-devel jsoncpp-devel libarchive-devel Preinstall: bzip2-devel expat-devel jsoncpp-devel libarchive-devel ### End of 20240510 Preinstall: libuv-devel xz-devel zlib-devel %ifarch aarch64 Ignore: libwx_baseu-3.2.so.0(WXU_3.2)(64bit) Substitute: libwx_baseu-3.2.so.0(WXU_3.2)(64bit) Ignore: libwx_gtk3u_aui-3.2.so.0(WXU_3.2)(64bit) Substitute: libwx_gtk3u_aui-3.2.so.0(WXU_3.2)(64bit) Ignore: libwx_gtk3u_core-3.2.so.0(WXU_3.2)(64bit) Substitute: libwx_gtk3u_core-3.2.so.0(WXU_3.2)(64bit) Ignore: libwx_gtk3u_gl-3.2.so.0(WXU_3.2)(64bit) Substitute: libwx_gtk3u_gl-3.2.so.0(WXU_3.2)(64bit) Ignore: libwx_gtk3u_html-3.2.so.0(WXU_3.2)(64bit) Substitute: libwx_gtk3u_html-3.2.so.0(WXU_3.2)(64bit) Ignore: libwx_gtk3u_stc-3.2.so.0(WXU_3.2)(64bit) Substitute: libwx_gtk3u_stc-3.2.so.0(WXU_3.2)(64bit) Ignore: libwx_gtk3u_webview-3.2.so.0(WXU_3.2)(64bit) Substitute: libwx_gtk3u_webview-3.2.so.0(WXU_3.2)(64bit) Ignore: libwx_gtk3u_xrc-3.2.so.0(WXU_3.2)(64bit) Substitute: libwx_gtk3u_xrc-3.2.so.0(WXU_3.2)(64bit) %endif Preinstall: python3-setuptools_scm %ifarch riscv64 Preinstall: dnf yum openEuler-repos Ignore: mvn(org.springframework:spring-context) Substitute: mvn(org.springframework:spring-context) Ignore: springframework-context-support Substitute: springframework-context-support Ignore: valgrind Substitute: valgrind Macros: #%%_without_slowdebug 1 %_with_slowdebug 0 #%_with_bootstrap 1 #%_without_tests 1 ###### 20240506 fix no CC export during %test by jchzhou %__spec_check_pre %{___build_pre} \ %[%{_auto_set_build_cc} ? "%{set_build_cc}" : ""] \ %[%{_auto_set_build_flags} ? "%{set_build_flags}" : ""] \ exit 0 ###### end 20240506 :Macros %endif ############################################################## # Ignore: mvn(jline:jline) # Ignore: jline # 20240305 jchzhou %valgrind_arches %{ix86} x86_64 %{arm} aarch64 # End 20240305 %ifarch x86_64 Ignore: glibc-debuginfo Substitute: glibc-debuginfo %endif %ifarch riscv64 Substitute: python3.11dist(alabaster) python3-sphinx-theme-alabaster Ignore: libasan Substitute: libasan Ignore: libquadmath-devel Substitute: libquadmath-devel Ignore: libquadmath-static Substitute: libquadmath-static # 20240305 jchzhou Ignore: valgrind-devel Substitute: valgrind-devel # End 20240305 Ignore: libitm-devel Substitute: libitm-devel # Substitute: llvm15 llvm # Substitute: llvm15-devel llvm-devel # # Substitute: llvm15-googletest llvm-googletest # Substitute: llvm15-test llvm-test %endif # have choice for libLLVM-15.so()(64bit) needed by llvm-devel: llvm-libs llvm15-libs Prefer: llvm-libs clang-libs Preinstall: clang llvm llvm-googletest gcc libgcc # 20240321 jchzhou temporarily skip preinstalling libomp-devel for all #%%ifarch aarch64 x86_64 Preinstall: libomp-devel #%%endif # 20240321 jchzhou fix choice in fontconfig #%ifarch x86_64 riscv64 #Preinstall: glibc bzip2-devel #%endif # 20240321 jchzhou fix choice in fontconfig Prefer: google-noto-sans-fonts # end 20240321 # 20240322 jchzhou fix choice in openmp Prefer: libomp # end 20240321 #20240813 jchzhou 暂时跳过为所有软件包跳过 %check 环节 #%ifarch riscv64 Macros: %__spec_check_pre %{___build_pre} \ %[%{_auto_set_build_cc} ? "%{set_build_cc}" : ""] \ %[%{_auto_set_build_flags} ? "%{set_build_flags}" : ""] \ exit 0 :Macros #%endif # End 20240813 ## Move Macros down here, edit by jchzhou 20240226 16:18 Macros: # Add for glibc by xiasenlin,2022/02/23, related issue:https://gitee.com/src-openeuler/obs_meta/issues/I4UXKX %glibc_abort_after_test_fail 1 %source_date_epoch_from_changelog Y %clamp_mtime_to_source_date_epoch Y %use_source_date_epoch_as_buildtime Y %glibc_abort_after_test_fail 1 %_without_storage_zfs 1 %python3_pkgversion 3 %golang_arches %{ix86} x86_64 %{arm} aarch64 ppc64le s390x riscv64 %efi_arch aa64 %efi_vendor openEuler %efi aarch64 x86_64 riscv64 %unsignedaa64 shim-unsigned-aarch64 %unsignedx64 shim-unsigned-x64 %unsignedia32 shim-unsigned-ia32 %shimveraa64 15 %shimverx64 15 %shimveria32 15 %valgrind_arches %{ix86} x86_64 %{arm} aarch64 ppc64le s390x %mono_arches %{ix86} x86_64 %{arm} aarch64 ppc64le s390x %openblas_arches %{ix86} x86_64 %{arm} aarch64 ppc64le s390x riscv64 %ocaml_native_compiler %{ix86} x86_64 %{arm} aarch64 ppc64le s390x riscv64 %ocaml_natdynlink %{ix86} x86_64 %{arm} aarch64 ppc64le s390x riscv64 %ocaml_native_profiling %{ix86} x86_64 %{arm} aarch64 ppc64le s390x riscv64 %with_ocaml 1 %dist .mg2403 #%%define llvm %_lto_cflags %{nil} # Python3先构建成功 by luofeng #%debug_package %{nil} :Macros Preinstall: lld %if 0 %ifnarch riscv64 Macros: # default use clang as compiler %toolchain clang # specify gcc compiled package %gcc_compilered_package 'openjdk-1.8.0.spec|libffi.spec|hdf5.spec|lapack.spec|libtool.spec|openblas.spec|papi.spec|scipy.spec|syslinux.spec|glibc.spec|clang.spec|llvm.spec|lld.spec|R.spec|arpack.spec|fftw.spec|mpich.spec|mvapich2.spec|openmpi.spec|qrupdate.spec|gcc.spec|grub2.spec|anaconda.spec|gdb.spec' %toolchain %[ "%(cat /.build.command | grep -E %{gcc_compilered_package})" == "" ? "clang" : "gcc" ] %_auto_set_build_flags %["%{toolchain}" == "clang" ? 1 : 0 ] %gcc_secure_exclude 'podman.spec|gcc.spec|arm-trusted-firmware.spec|docker-engine-openeuler.spec|arts.spec|runc-openeuler.spec|kata-containers.spec|dyninst.spec|ipxe.spec|tboot.spec|syslinux.spec|gcc-libraries.spec|kpatch.spec|gdb.spec|xorg-x11-server.spec|xorg-x11-drv-fbdev.spec|xorg-x11-drv-vesa.spec|xorg-x11-drv-ati.spec|xorg-x11-drv-dummy.spec|xorg-x11-drv-intel.spec|xorg-x11-drv-nouveau.spec|xorg-x11-drv-qxl.spec|xorg-x11-drv-v4l.spec|xorg-x11-drv-vmware.spec|xorg-x11-drv-evdev.spec|xorg-x11-drv-synaptics.spec|xorg-x11-drv-vmmouse.spec|xorg-x11-drv-void.spec|xorg-x11-drv-wacom.spec|hivex.spec|gimp.spec|memstomp.spec|supermin.spec|system-config-firewall.spec|isdn4k-utils.spec|emacs.spec|graphviz.spec|buildah.spec|rhash.spec|automake.spec' %sec_opt_llvm %[ "%(cat /.build.command | grep -E %{gcc_secure_exclude})" == "" ? "-fsigned-char" : "" ] # security options and lld %build_cflags %{optflags} %sec_opt_llvm %["%{toolchain}" == "clang" ? "-fPIC -Wl,-z,noexecstack -fuse-ld=ld -Wno-unused-command-line-argument" : "" ] %build_cxxflags %{optflags} %sec_opt_llvm -fexceptions %["%{toolchain}" == "clang" ? "-fPIC -Wl,-z,noexecstack -fuse-ld=ld -Wno-unused-command-line-argument" : "" ] :Macros %endif %endif
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2