Only build X86 backend

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=43
This commit is contained in:
Ismail Dönmez 2011-06-05 19:31:48 +00:00 committed by Git OBS Bridge
parent 8bf01d7e5c
commit a55b04b04f

View File

@ -134,6 +134,7 @@ cd stage1
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DLLVM_ENABLE_ASSERTIONS=TRUE \ -DLLVM_ENABLE_ASSERTIONS=TRUE \
-DLLVM_TARGETS_TO_BUILD=X86
.. ..
make %{?_smp_mflags} make %{?_smp_mflags}
@ -150,6 +151,7 @@ cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DLLVM_ENABLE_ASSERTIONS=TRUE \ -DLLVM_ENABLE_ASSERTIONS=TRUE \
-DLLVM_ENABLE_PIC=TRUE \ -DLLVM_ENABLE_PIC=TRUE \
-DLLVM_ENABLE_TIMESTAMPS=FALSE \ -DLLVM_ENABLE_TIMESTAMPS=FALSE \
-DLLVM_TARGETS_TO_BUILD=X86
-DCLANG_VENDOR="SUSE Linux" \ -DCLANG_VENDOR="SUSE Linux" \
%ifarch x86_64 %ifarch x86_64
-DLLVM_LIBDIR_SUFFIX=64 \ -DLLVM_LIBDIR_SUFFIX=64 \