Projects
home:zhoujc:test
clang
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 4
View file
_service:extract_file:clang.spec
Changed
@@ -14,7 +14,7 @@ Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{clang_tools_srcdir}.tar.xz Source2: clang-config.h -BuildRequires: cmake gcc-c++ python-sphinx git +BuildRequires: cmake ninja-build gcc-c++ python-sphinx git BuildRequires: llvm-devel = %{version} BuildRequires: llvm-static = %{version} BuildRequires: llvm-googletest = %{version} @@ -106,17 +106,14 @@ %build -mkdir -p _build -cd _build - - %global optflags %(echo %{optflags} | sed 's/-g /-g1 /') %ifarch riscv64 LDFLAGS+="-latomic" %endif -%cmake .. \ +%cmake -G Ninja \ + -DLLVM_PARALLEL_LINK_JOBS=1 \ -DLLVM_LINK_LLVM_DYLIB:BOOL=ON \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_RPATH:BOOL=";" \ @@ -147,10 +144,10 @@ -DCLANG_REPOSITORY_STRING="%{_vendor} %{version}-%{release}" \ -DLIB_SUFFIX= -%make_build -C _build +%cmake_build %install -%make_install -C _build +%cmake_install mv -v %{buildroot}%{_includedir}/clang/Config/config{,-%{__isa_bits}}.h install -m 0644 %{SOURCE2} %{buildroot}%{_includedir}/clang/Config/config.h
View file
_service
Changed
@@ -3,7 +3,7 @@ <param name="scm">git</param> <param name="url">git@gitee.com:jchzhou/clang.git</param> <param name="exclude">.git</param> - <param name="revision">3dc3c810adb3379696da9c342bcb70e800c87ace</param> + <param name="revision">237665859b895c7e7669554e0b3d8396d3da2d57</param> </service> <service name="extract_file"> <param name="archive">*.tar</param>
View file
_service:tar_scm:clang-1658824920.3dc3c81.tar/clang.spec -> _service:tar_scm:clang-1658832197.2376658.tar/clang.spec
Changed
@@ -14,7 +14,7 @@ Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{clang_tools_srcdir}.tar.xz Source2: clang-config.h -BuildRequires: cmake gcc-c++ python-sphinx git +BuildRequires: cmake ninja-build gcc-c++ python-sphinx git BuildRequires: llvm-devel = %{version} BuildRequires: llvm-static = %{version} BuildRequires: llvm-googletest = %{version} @@ -106,17 +106,14 @@ %build -mkdir -p _build -cd _build - - %global optflags %(echo %{optflags} | sed 's/-g /-g1 /') %ifarch riscv64 LDFLAGS+="-latomic" %endif -%cmake .. \ +%cmake -G Ninja \ + -DLLVM_PARALLEL_LINK_JOBS=1 \ -DLLVM_LINK_LLVM_DYLIB:BOOL=ON \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_RPATH:BOOL=";" \ @@ -147,10 +144,10 @@ -DCLANG_REPOSITORY_STRING="%{_vendor} %{version}-%{release}" \ -DLIB_SUFFIX= -%make_build -C _build +%cmake_build %install -%make_install -C _build +%cmake_install mv -v %{buildroot}%{_includedir}/clang/Config/config{,-%{__isa_bits}}.h install -m 0644 %{SOURCE2} %{buildroot}%{_includedir}/clang/Config/config.h
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