update to 0.11.0.20231028git.256ab6 [release 0.11.0.20231028git.256ab6-1mamba;Sat Oct 28 2023]
This commit is contained in:
parent
7ff4b347a7
commit
1a30d21146
15
zig.spec
15
zig.spec
@ -1,6 +1,6 @@
|
|||||||
%define gittag %(echo %version | cut -d. -f5)
|
%define gittag %(echo %version | cut -d. -f5)
|
||||||
Name: zig
|
Name: zig
|
||||||
Version: 0.11.0
|
Version: 0.11.0.20231028git.256ab6
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A general-purpose programming language and toolchain for maintaining robust, optimal and reusable software
|
Summary: A general-purpose programming language and toolchain for maintaining robust, optimal and reusable software
|
||||||
Group: Applications/Development
|
Group: Applications/Development
|
||||||
@ -9,7 +9,6 @@ Distribution: openmamba
|
|||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://ziglang.org/
|
URL: https://ziglang.org/
|
||||||
Source: https://github.com/ziglang/zig.git/master@%{gittag}/zig-%{version}.tar.bz2
|
Source: https://github.com/ziglang/zig.git/master@%{gittag}/zig-%{version}.tar.bz2
|
||||||
#Source: https://ziglang.org/download/%{version}/zig-%{version}.tar.xz
|
|
||||||
Patch0: zig-0.10.1-llvm-15.patch
|
Patch0: zig-0.10.1-llvm-15.patch
|
||||||
Patch1: zig-0.10.1-build-increase-max_output-size.patch
|
Patch1: zig-0.10.1-build-increase-max_output-size.patch
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -20,7 +19,7 @@ BuildRequires: liblld-devel
|
|||||||
BuildRequires: libllvm-devel
|
BuildRequires: libllvm-devel
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libclang-devel >= 0:16.0.4-1mamba
|
BuildRequires: libclang-devel >= 17.0.3-1mamba
|
||||||
BuildRequires: liblld-devel >= 16.0.4
|
BuildRequires: liblld-devel >= 16.0.4
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
|
|
||||||
@ -37,13 +36,15 @@ Zig is a general-purpose programming language and toolchain for maintaining robu
|
|||||||
#%patch 1 -p1
|
#%patch 1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
#:<< _EOF
|
||||||
# FIXME: PKG_CONFIG_PATH as set by rpm script causes the build to fail
|
# FIXME: PKG_CONFIG_PATH as set by rpm script causes the build to fail
|
||||||
export PKG_CONFIG_PATH=""
|
export PKG_CONFIG_PATH=""
|
||||||
%cmake -d build \
|
%cmake -d build \
|
||||||
-DCMAKE_BUILD_TYPE=Debug \
|
-DCMAKE_BUILD_TYPE=Debug \
|
||||||
-DZIG_SHARED_LLVM=ON
|
-DZIG_SHARED_LLVM=ON
|
||||||
|
|
||||||
%make
|
# FIXME: prevent segfault due to mixing with libLLVM-16.so
|
||||||
|
LD_PRELOAD=%{_libdir}/libLLVM-17.so make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -64,6 +65,12 @@ rm -rf %{buildroot}/usr/doc
|
|||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Oct 28 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11.0.20231028git.256ab6-1mamba
|
||||||
|
- update to 0.11.0.20231028git.256ab6
|
||||||
|
|
||||||
|
* Sat Oct 28 2023 Automatic Build System <autodist@mambasoft.it> 0.11.0-2mamba
|
||||||
|
- rebuilt by autoport with build requirements: libclang-devel>=17.0.3-1mamba
|
||||||
|
|
||||||
* Sat Aug 05 2023 Automatic Build System <autodist@mambasoft.it> 0.11.0-1mamba
|
* Sat Aug 05 2023 Automatic Build System <autodist@mambasoft.it> 0.11.0-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user