Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
     5         kx 
     5         kx COMPONENT_TARGETS = $(HARDWARE_NOARCH)
     5         kx 
     5         kx 
     5         kx include ../../../../build-system/constants.mk
     5         kx 
     5         kx 
     5         kx url         = $(DOWNLOAD_SERVER)/sources/packages/d/llvm
     5         kx 
   385         kx versions    = 16.0.2
     5         kx pkgname     = llvm
     5         kx suffix      = tar.xz
     5         kx 
     5         kx tarballs    = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
     5         kx sha1s       = $(addsuffix .sha1sum, $(tarballs))
     5         kx 
   385         kx patches     = $(CURDIR)/patches/llvm-16.0.2-clang-gnu-triple.patch
   385         kx patches    += $(CURDIR)/patches/llvm-16.0.2-clang-set-revision.patch
   385         kx patches    += $(CURDIR)/patches/llvm-16.0.2-clangd-riscv64.patch
   385         kx patches    += $(CURDIR)/patches/llvm-16.0.2-compiler-rt-mips.patch
   385         kx patches    += $(CURDIR)/patches/llvm-16.0.2-compiler-rt-jz47xx.patch
   385         kx patches    += $(CURDIR)/patches/llvm-16.0.2-compiler-rt-p5600.patch
   385         kx patches    += $(CURDIR)/patches/llvm-16.0.2-compiler-rt-ppc64.patch
   385         kx patches    += $(CURDIR)/patches/llvm-16.0.2-compiler-rt-synonyms.patch
   385         kx patches    += $(CURDIR)/patches/llvm-16.0.2-lldb-instr-link.patch
   385         kx patches    += $(CURDIR)/patches/llvm-16.0.2-lldb-lua-version.patch
   385         kx patches    += $(CURDIR)/patches/llvm-16.0.2-lldb-riscv64.patch
   385         kx patches    += $(CURDIR)/patches/llvm-16.0.2-lldb-set-revision.patch
   385         kx patches    += $(CURDIR)/patches/llvm-16.0.2-llvm-64bit-atomic.patch
   385         kx patches    += $(CURDIR)/patches/llvm-16.0.2-llvm-install-symlink.patch
   385         kx patches    += $(CURDIR)/patches/llvm-16.0.2-llvm-pass-variables.patch
   385         kx patches    += $(CURDIR)/patches/llvm-16.0.2-llvm-ppc64.patch
   385         kx patches    += $(CURDIR)/patches/llvm-16.0.2-llvm-versioning.patch
   385         kx patches    += $(CURDIR)/patches/llvm-16.0.2-openmp-perl.patch
   385         kx patches    += $(CURDIR)/patches/llvm-16.0.2-polly-hack.patch
   385         kx patches    += $(CURDIR)/patches/llvm-16.0.2-pstl-x32.patch
   385         kx patches    += $(CURDIR)/patches/llvm-16.0.2-x32-interpreter.patch
   385         kx patches    += $(CURDIR)/patches/llvm-16.0.2-x64-interpreter.patch
     5         kx 
     5         kx .NOTPARALLEL: $(patches)
     5         kx 
     5         kx 
     5         kx BUILD_TARGETS = $(tarballs) $(sha1s) $(patches)
     5         kx 
     5         kx 
     5         kx include ../../../../build-system/core.mk
     5         kx 
     5         kx 
     5         kx .PHONY: download_clean
     5         kx 
     5         kx 
     5         kx $(tarballs):
     5         kx 	@echo -e "\n======= Downloading source tarballs =======" ; \
     5         kx 	 for tarball in $(tarballs) ; do \
     5         kx 	   echo "$(url)/$$tarball" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & \
     5         kx 	 done ; wait
     5         kx 
     5         kx $(sha1s): $(tarballs)
     5         kx 	@for sha in $@ ; do \
     5         kx 	   echo -e "\n======= Downloading '$$sha' signature =======\n" ; \
     5         kx 	   echo "$(url)/$$sha" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & wait %1 ; \
     5         kx 	   touch $$sha ; \
     5         kx 	   echo -e "\n======= Check the '$$sha' sha1sum =======\n" ; \
     5         kx 	   sha1sum --check $$sha ; ret="$$?" ; \
     5         kx 	   if [ "$$ret" == "1" ]; then \
     5         kx 	     echo -e "\n======= ERROR: Bad '$$sha' sha1sum =======\n" ; \
     5         kx 	     exit 1 ; \
     5         kx 	   fi ; \
     5         kx 	 done
     5         kx 
     5         kx $(patches): $(sha1s)
     5         kx 	@echo -e "\n======= Create Patches =======\n" ; \
   385         kx 	 ( cd create-16.0.2-clang-gnu-triple-patch     ; ./create.patch.sh ) ; \
   385         kx 	 ( cd create-16.0.2-clang-set-revision-patch   ; ./create.patch.sh ) ; \
   385         kx 	 ( cd create-16.0.2-clangd-riscv64-patch       ; ./create.patch.sh ) ; \
   385         kx 	 ( cd create-16.0.2-compiler-rt-mips-patch     ; ./create.patch.sh ) ; \
   385         kx 	 ( cd create-16.0.2-compiler-rt-jz47xx-patch   ; ./create.patch.sh ) ; \
   385         kx 	 ( cd create-16.0.2-compiler-rt-p5600-patch    ; ./create.patch.sh ) ; \
   385         kx 	 ( cd create-16.0.2-compiler-rt-ppc64-patch    ; ./create.patch.sh ) ; \
   385         kx 	 ( cd create-16.0.2-compiler-rt-synonyms-patch ; ./create.patch.sh ) ; \
   385         kx 	 ( cd create-16.0.2-lldb-instr-link-patch      ; ./create.patch.sh ) ; \
   385         kx 	 ( cd create-16.0.2-lldb-lua-version-patch     ; ./create.patch.sh ) ; \
   385         kx 	 ( cd create-16.0.2-lldb-riscv64-patch         ; ./create.patch.sh ) ; \
   385         kx 	 ( cd create-16.0.2-lldb-set-revision-patch    ; ./create.patch.sh ) ; \
   385         kx 	 ( cd create-16.0.2-llvm-64bit-atomic-patch    ; ./create.patch.sh ) ; \
   385         kx 	 ( cd create-16.0.2-llvm-install-symlink-patch ; ./create.patch.sh ) ; \
   385         kx 	 ( cd create-16.0.2-llvm-pass-variables-patch  ; ./create.patch.sh ) ; \
   385         kx 	 ( cd create-16.0.2-llvm-ppc64-patch           ; ./create.patch.sh ) ; \
   385         kx 	 ( cd create-16.0.2-llvm-versioning-patch      ; ./create.patch.sh ) ; \
   385         kx 	 ( cd create-16.0.2-openmp-perl-patch          ; ./create.patch.sh ) ; \
   385         kx 	 ( cd create-16.0.2-polly-hack-patch           ; ./create.patch.sh ) ; \
   385         kx 	 ( cd create-16.0.2-pstl-x32-patch             ; ./create.patch.sh ) ; \
   385         kx 	 ( cd create-16.0.2-x32-interpreter-patch      ; ./create.patch.sh ) ; \
   385         kx 	 ( cd create-16.0.2-x64-interpreter-patch      ; ./create.patch.sh ) ; \
     5         kx 	 echo -e "\n"
     5         kx 
     5         kx download_clean:
     5         kx 	@rm -f $(tarballs) $(sha1s) $(patches)