Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:owinebar:Staging:emacs-29
Configuration
Project Config
Overview
Repositories
Monitor
Requests
Users
Subprojects
Project Config
Attributes
Signing Keys
Meta
Status
Pulse
Project Configuration of home:owinebar:Staging:emacs-29
#!/usr/bin/rpm # These are used in the spec file to choose the compiler and provide distinct package names based on which version of the jit compiler is used %define repocc gcc %define customcc_pkg_suffix %{nil} Macros: %repocc gcc %repo_cc gcc %repo_cxx g++ %customcc_pkg_suffix %{nil} :Macros # Infer a custom compiler toolchain from the repo name "custom-<compiler>" %define baserepo custom %if "%{_repository}" == "%{baserepo}-gcc7" %define repocc_vendor gcc %define repocc_version 7 Macros: %repocc_vendor gcc %repocc_version 7 :Macros %define libgo_sover 11 %elif "%{_repository}" == "%{baserepo}-gcc8" %define repocc_vendor gcc %define repocc_version 8 Macros: %repocc_vendor gcc %repocc_version 8 :Macros %define libgo_sover 13 %elif "%{_repository}" == "%{baserepo}-gcc9" %define repocc_vendor gcc %define repocc_version 9 Macros: %repocc_vendor gcc %repocc_version 9 :Macros %define libgo_sover 13 %define libmpx_sover 2 %define libmpxwrappers_sover 2 %elif "%{_repository}" == "%{baserepo}-gcc10" %define repocc_vendor gcc %define repocc_version 10 Macros: %repocc_vendor gcc %repocc_version 10 %define libgo_sover 16 %define libgphobos_sover 1 %define libgdruntime_sover 1 :Macros %elif "%{_repository}" == "%{baserepo}-gcc11" %define repocc_vendor gcc %define repocc_version 11 Macros: %repocc_vendor gcc %repocc_version 11 :Macros %define libgo_sover 19 %define libgphobos_sover 2 %define libgdruntime_sover 2 %elif "%{_repository}" == "%{baserepo}-gcc12" %define repocc_vendor gcc %define repocc_version 12 Macros: %repocc_vendor gcc %repocc_version 12 :Macros # Shared library SONAME versions specific to repo gcc version %define libgo_sover 21 %define libgphobos_sover 3 %define libgdruntime_sover 3 %elif "%{_repository}" == "%{baserepo}-gcc13" %define repocc_vendor gcc %define repocc_version 13 Macros: %repocc_vendor gcc %repocc_version 13 :Macros # Shared library SONAME versions specific to repo gcc version %define libgo_sover 22 %define libgphobos_sover 4 %define libgdruntime_sover 4 %elif "%{_repository}" == "%{baserepo}-llvm13" %define repocc_vendor clang %define repocc_version 13 Macros: %repocc_vendor clang %repocc_version 13 :Macros %elif "%{_repository}" == "%{baserepo}-llvm14" %define repocc_vendor clang %define repocc_version 14 Macros: %repocc_vendor clang %repocc_version 14 :Macros %elif "%{_repository}" == "%{baserepo}-llvm15" %define repocc_vendor clang %define repocc_version 15 Macros: %repocc_vendor clang %repocc_version 15 :Macros %elif "%{_repository}" == "%{baserepo}-llvm16" %define repocc_vendor clang %define repocc_version 16 Macros: %repocc_vendor clang %repocc_version 16 :Macros %endif Substitute: repocc %{repocc} %if 0%{?repocc_vendor:1} %if "%{repocc_vendor}" == "gcc" %define repocc %{repocc_vendor}%{repocc_version} Substitute: gcc-PIE %{repocc}-PIE Substitute: gcc-32bit %{repocc}-32bit Substitute: gcc-c++ %{repocc}-c++ Substitute: gcc-c++-32bit %{repocc}-c++-32bit Substitute: gcc-d %{repocc}-d Substitute: gcc-d-32bit %{repocc}-d-32bit Substitute: gcc-ada %{repocc}-ada Substitute: gcc-ada-32bit %{repocc}-ada-32bit Substitute: libstdc++6 libstdc++6-%{repocc} Substitute: libstdc++6-devel libstdc++6-devel-%{repocc} %if 0%{?repocc_version} > 9 Substitute: libgccjit libgccjit0-%{repocc} Substitute: libgccjit-devel libgccjit0-devel-%{repocc} %endif Substitute: gcc %{repocc} Macros: %repo_cc gcc-%{repocc_version} %repo_cxx g++-%{repocc_version} %repo_d gdc-%{repocc_version} :Macros %elif "%{repocc_vendor}" == "clang" %define repocc %{repocc_vendor}%{repocc_version} Substitute: repocc %{repocc} Substitute: libstdc++6 libc++1 Substitute: libstdc++6-devel libc++1-devel Substitute: gcc-d ldc Macros: %repo_cc clang-%{clang_version} %repo_cxx clang++-%{clang_version} %repo_d ldc :Macros %endif %endif %if 0%{?repocc_vendor:1} %if "%{repocc_vendor}" == "gcc" %define repocc %{repocc_vendor}%{repocc_version} # These are constant for gcc versions 7 - 13 %ifarch hppa %define libgcc_s 4 %else %ifarch m68k %define libgcc_s 2 %else %define libgcc_s 1 %endif %endif %define libgomp_sover 1 %define libstdcxx_sover 6 %define libobjc_sover 4 %define liblsan_sover 0 %define libatomic_sover 1 %define libitm_sover 1 %define liblsan_sover 0 %define libvtv_sover 0 %define libquadmath_sover 0 %if %{repocc_version} == 7 %define libgfortran_sover 4 %define libubsan_sover 0 %define libcilkrts_sover 5 %define libasan_sover 4 %else %define libgfortran_sover 5 %define libubsan_sover 1 %if %{repocc_version} < 10 %define libasan_sover 5 %elif %{repocc_version} < 12 %define libasan_sover 6 %else %define libasan_sover 8 %endif %endif %if %{repocc_version} < 12 %define libtsan_sover 0 %else %define libtsan_sover 2 %endif %if 0%{?repocc_version} < 9 %define libmpx_sover 2 %define libmpxwrappers_sover 2 %endif %if 0%{?repocc_version} > 10 %define libhwasan_sover 0 %endif %if 0%{?repocc_version} > 9 %define libgccjit_sover 0 %endif # This is always preinstalled for the base OS image, and the compiler version-specific package # should never be required for building with a non-system compiler Prefer: libgcc_s%{libgcc_s} libgcc_s%{libgcc_s}-32bit Ignore: libgcc_s%{libgcc_s}-%{repocc} Substitute: libgcc_s%{libgcc_s}-%{repocc} libgcc_s%{libgcc_s} Substitute: repocc %{repocc} Substitute: gcc-PIE %{repocc}-PIE Substitute: gcc-32bit %{repocc}-32bit Substitute: gcc-c++ %{repocc}-c++ Substitute: gcc-c++-32bit %{repocc}-c++-32bit Substitute: gcc-d %{repocc}-d Substitute: gcc-d-32bit %{repocc}-d-32bit Substitute: gcc-ada %{repocc}-ada Substitute: gcc-ada-32bit %{repocc}-ada-32bit Substitute: libstdc++6 libstdc++6-%{repocc} Substitute: libstdc++6-devel libstdc++6-devel-%{repocc} Substitute: libgcc_s%{libgcc_s} libgcc_s%{libgcc_s}-%{repocc}= Substitute: libgomp%{libgomp_sover} libgomp%{libgomp_sover}-%{repocc}= Substitute: libasan%{libasan_sover} libasan%{libasan_sover}-%{repocc}= Substitute: libtsan%{libtsan_sover} libtsan%{libtsan_sover}-%{repocc}= Substitute: libhwasan%{libhwasan_sover} libhwasan%{libhwasan_sover}-%{repocc}= Substitute: libatomic%{libatomic_sover} libatomic%{libatomic_sover}-%{repocc}= Substitute: libitm%{libitm_sover} libitm%{libitm_sover}-%{repocc}= Substitute: liblsan%{liblsan_sover} liblsan%{liblsan_sover}-%{repocc}= Substitute: libubsan%{libubsan_sover} libubsan%{libubsan_sover}-%{repocc}= Substitute: libvtv%{libvtv_sover} libvtv%{libvtv_sover}-%{repocc}= Substitute: libgphobos%{libgdruntime_sover} libgphobos%{libgdruntime_sover}-%{repocc}= Substitute: libgphobos%{libgdruntime_sover}-32bit libgphobos%{libgdruntime_sover}-%{repocc}-32bit= Substitute: libgphobos%{libgdruntime_sover}-64bit libgphobos%{libgdruntime_sover}-%{repocc}-64bit= Substitute: libgdruntime%{libgdruntime_sover} libgdruntime%{libgdruntime_sover}-%{repocc}= Substitute: libgdruntime%{libgdruntime_sover}-32bit libgdruntime%{libgdruntime_sover}-%{repocc}-32bit= Substitute: libgdruntime%{libgdruntime_sover}-64bit libgdruntime%{libgdruntime_sover}-%{repocc}-64bit= Substitute: libcilkrts%{libcilkrts_sover} libcilkrts%{libcilkrts_sover}-%{repocc}= Substitute: liblsan%{liblsan_sover} liblsan%{liblsan_sover}-%{repocc}= Substitute: libmpx%{libmpx_sover} libmpx%{libmpx_sover}-%{repocc}= Substitute: libmpxwrappers%{libmpxwrappers_sover} libmpxwrappers%{libmpxwrappers_sover}-%{repocc}= Substitute: libcilkrts%{libcilkrts_sover} libcilkrts%{libcilkrts_sover}-%{repocc}= Substitute: libmpx%{libmpx_sover} libmpx%{libmpx_sover} -%{repocc}= Substitute: libmpxwrappers%{libmpxwrappers_sover} libmpxwrappers%{libmpxwrappers_sover}-%{repocc}= Substitute: libgccjit libgccjit%{libgccjit_sover}-%{repocc} Substitute: libgccjit-devel libgccjit%{libgccjit_sover}-devel-%{repocc} Substitute: gcc %{repocc} Macros: %repo_cc gcc-%{repocc_version} %repo_cxx g++-%{repocc_version} %repo_d gdc-%{repocc_version} :Macros %elif "%{repocc_vendor}" == "clang" %define repocc %{repocc_vendor}%{repocc_version} Substitute: repocc %{repocc} Substitute: libstdc++6 libc++1 Substitute: libstdc++6-devel libc++1-devel Substitute: gcc-d ldc Macros: %repo_cc clang-%{repocc_version} %repo_cxx clang++-%{repocc_version} %repo_d ldc :Macros %endif %endif %if 0%{?repocc_vendor:1} %define customcc_pkg_suffix -%{repocc_vendor}%{repocc_version} Macros: %customcc_pkg_suffix -%{repocc_vendor}%{repocc_version} :Macros %if "%{repocc_vendor}" == "gcc" %if 0%{?repocc_version} > 9 %define with_nativecomp 1 %define with_nativecompaot 1 Macros: %with_nativecomp 1 %with_nativecompaot 1 :Macros %endif %elif "%{repocc_vendor}" == "clang" %endif %endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor