commit a151f7dcd80aee60e7abd0e89a6cbefa2cbcae6d Author: Danny Rawlins <monster.romster@gmail.com> Date: Sat Jul 28 14:45:15 2018 +1000 clang: 6.0.0 -> 6.0.1 diff --git a/clang/.footprint b/clang/.footprint index 9854dde09..4a28017df 100644 --- a/clang/.footprint +++ b/clang/.footprint @@ -583,118 +583,118 @@ drwxr-xr-x root/root usr/include/clang/Tooling/Refactoring/Rename/ -rw-r--r-- root/root usr/include/clang/Tooling/Tooling.h drwxr-xr-x root/root usr/lib/ drwxr-xr-x root/root usr/lib/clang/ -drwxr-xr-x root/root usr/lib/clang/6.0.0/ -drwxr-xr-x root/root usr/lib/clang/6.0.0/include/ --rw-r--r-- root/root usr/lib/clang/6.0.0/include/__clang_cuda_builtin_vars.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/__clang_cuda_cmath.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/__clang_cuda_complex_builtins.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/__clang_cuda_intrinsics.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/__clang_cuda_math_forward_declares.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/__clang_cuda_runtime_wrapper.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/__stddef_max_align_t.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/__wmmintrin_aes.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/__wmmintrin_pclmul.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/adxintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/altivec.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/ammintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/arm64intr.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/arm_acle.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/arm_neon.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/armintr.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/avx2intrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/avx512bitalgintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/avx512bwintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/avx512cdintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/avx512dqintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/avx512erintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/avx512fintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/avx512ifmaintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/avx512ifmavlintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/avx512pfintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/avx512vbmi2intrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/avx512vbmiintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/avx512vbmivlintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/avx512vlbitalgintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/avx512vlbwintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/avx512vlcdintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/avx512vldqintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/avx512vlintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/avx512vlvbmi2intrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/avx512vlvnniintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/avx512vnniintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/avx512vpopcntdqintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/avx512vpopcntdqvlintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/avxintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/bmi2intrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/bmiintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/cetintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/clflushoptintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/clwbintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/clzerointrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/cpuid.h -drwxr-xr-x root/root usr/lib/clang/6.0.0/include/cuda_wrappers/ --rw-r--r-- root/root usr/lib/clang/6.0.0/include/cuda_wrappers/algorithm --rw-r--r-- root/root usr/lib/clang/6.0.0/include/cuda_wrappers/complex --rw-r--r-- root/root usr/lib/clang/6.0.0/include/cuda_wrappers/new --rw-r--r-- root/root usr/lib/clang/6.0.0/include/emmintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/f16cintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/float.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/fma4intrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/fmaintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/fxsrintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/gfniintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/htmintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/htmxlintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/ia32intrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/immintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/intrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/inttypes.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/iso646.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/limits.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/lwpintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/lzcntintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/mm3dnow.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/mm_malloc.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/mmintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/module.modulemap --rw-r--r-- root/root usr/lib/clang/6.0.0/include/msa.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/mwaitxintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/nmmintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/opencl-c.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/pkuintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/pmmintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/popcntintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/prfchwintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/rdseedintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/rtmintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/s390intrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/shaintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/smmintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/stdalign.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/stdarg.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/stdatomic.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/stdbool.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/stddef.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/stdint.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/stdnoreturn.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/tbmintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/tgmath.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/tmmintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/unwind.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/vadefs.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/vaesintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/varargs.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/vecintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/vpclmulqdqintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/wmmintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/x86intrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/xmmintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/xopintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/xsavecintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/xsaveintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/xsaveoptintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/xsavesintrin.h --rw-r--r-- root/root usr/lib/clang/6.0.0/include/xtestintrin.h +drwxr-xr-x root/root usr/lib/clang/6.0.1/ +drwxr-xr-x root/root usr/lib/clang/6.0.1/include/ +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/__clang_cuda_builtin_vars.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/__clang_cuda_cmath.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/__clang_cuda_complex_builtins.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/__clang_cuda_intrinsics.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/__clang_cuda_math_forward_declares.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/__clang_cuda_runtime_wrapper.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/__stddef_max_align_t.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/__wmmintrin_aes.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/__wmmintrin_pclmul.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/adxintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/altivec.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/ammintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/arm64intr.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/arm_acle.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/arm_neon.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/armintr.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/avx2intrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/avx512bitalgintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/avx512bwintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/avx512cdintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/avx512dqintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/avx512erintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/avx512fintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/avx512ifmaintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/avx512ifmavlintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/avx512pfintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/avx512vbmi2intrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/avx512vbmiintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/avx512vbmivlintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/avx512vlbitalgintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/avx512vlbwintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/avx512vlcdintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/avx512vldqintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/avx512vlintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/avx512vlvbmi2intrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/avx512vlvnniintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/avx512vnniintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/avx512vpopcntdqintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/avx512vpopcntdqvlintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/avxintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/bmi2intrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/bmiintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/cetintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/clflushoptintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/clwbintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/clzerointrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/cpuid.h +drwxr-xr-x root/root usr/lib/clang/6.0.1/include/cuda_wrappers/ +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/cuda_wrappers/algorithm +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/cuda_wrappers/complex +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/cuda_wrappers/new +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/emmintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/f16cintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/float.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/fma4intrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/fmaintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/fxsrintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/gfniintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/htmintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/htmxlintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/ia32intrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/immintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/intrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/inttypes.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/iso646.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/limits.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/lwpintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/lzcntintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/mm3dnow.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/mm_malloc.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/mmintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/module.modulemap +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/msa.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/mwaitxintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/nmmintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/opencl-c.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/pkuintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/pmmintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/popcntintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/prfchwintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/rdseedintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/rtmintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/s390intrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/shaintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/smmintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/stdalign.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/stdarg.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/stdatomic.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/stdbool.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/stddef.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/stdint.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/stdnoreturn.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/tbmintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/tgmath.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/tmmintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/unwind.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/vadefs.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/vaesintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/varargs.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/vecintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/vpclmulqdqintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/wmmintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/x86intrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/xmmintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/xopintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/xsavecintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/xsaveintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/xsaveoptintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/xsavesintrin.h +-rw-r--r-- root/root usr/lib/clang/6.0.1/include/xtestintrin.h -rwxr-xr-x root/root usr/lib/clang/c++-analyzer -rwxr-xr-x root/root usr/lib/clang/ccc-analyzer drwxr-xr-x root/root usr/lib/cmake/ diff --git a/clang/.md5sum b/clang/.md5sum deleted file mode 100644 index 2acaa6fbc..000000000 --- a/clang/.md5sum +++ /dev/null @@ -1,3 +0,0 @@ -121b3896cb0c7765d690acc5d9495d24 cfe-6.0.0.src.tar.xz -788a11a35fa62eb008019b37187d09d2 llvm-6.0.0.src.tar.xz -fcd6954a7fbd05687990e59e87131c3e llvm-config.h diff --git a/clang/.signature b/clang/.signature index 99de8768c..ee7823675 100644 --- a/clang/.signature +++ b/clang/.signature @@ -1,7 +1,6 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/fHtPw5vqMtan+Q31Ozhvh5IyGHfomU5qANHe1s5KYDOMNnmP1hyXRaeFb7UVd8mWtFD4o/Q9ylh4cdVpoFxdA0= -SHA256 (Pkgfile) = 61679aecabeeaf3ee6f585b04fa353bd62fbd39ec15dc4872d2b51afd65f5f38 -SHA256 (.footprint) = afb70e4331298763d3b7a0e4de6a8c0f1d562922381726faf8c27b2348b39cc7 -SHA256 (llvm-6.0.0.src.tar.xz) = 1ff53c915b4e761ef400b803f07261ade637b0c269d99569f18040f3dcee4408 -SHA256 (cfe-6.0.0.src.tar.xz) = e07d6dd8d9ef196cfc8e8bb131cbd6a2ed0b1caf1715f9d05b0f0eeaddb6df32 -SHA256 (llvm-config.h) = 2227b83b904348e5530f3475c978e11cb0f05a85024781dcb49ac86b65582707 +RWSE3ohX2g5d/fj9oWjA8NzMyUNK1eULfQW5Ff735526uH+gvpERUTKrA3Jj3kC05ii1X5wzDMSmt97kZcVfwTutN2wXDIJnnQc= +SHA256 (Pkgfile) = 9749a02c1f51dd1de935379883a0a9d041eff81c1484eccfd8c5c5fa5d4b231d +SHA256 (.footprint) = 8c345b4a954d1cd264297f186a0c7189ca28f80f39b54e0f4bdc93b2653a1f3c +SHA256 (llvm-6.0.1.src.tar.xz) = b6d6c324f9c71494c0ccaf3dac1f16236d970002b42bb24a6c9e1634f7d0f4e2 +SHA256 (cfe-6.0.1.src.tar.xz) = 7c243f1485bddfdfedada3cd402ff4792ea82362ff91fbdac2dae67c6026b667 diff --git a/clang/Pkgfile b/clang/Pkgfile index 61bc5116b..3608c06b5 100644 --- a/clang/Pkgfile +++ b/clang/Pkgfile @@ -4,10 +4,9 @@ # Depends on: llvm name=clang -version=6.0.0 +version=6.0.1 release=1 -source=(https://llvm.org/releases/$version/{llvm,cfe}-$version.src.tar.xz \ - llvm-config.h) +source=(https://llvm.org/releases/$version/{llvm,cfe}-$version.src.tar.xz) build() { mv cfe-$version.src llvm-$version.src/tools/clang @@ -16,7 +15,9 @@ build() { mkdir build cd build - cmake -DLLVM_ENABLE_CXX1Y=1 \ + cmake .. -G Ninja \ + -DLLVM_PARALLEL_COMPILE_JOBS="${JOBS:-1}" \ + -DLLVM_ENABLE_CXX1Y=1 \ -DLLVM_INCLUDE_EXAMPLES=0 \ -DLLVM_INCLUDE_TESTS=0 \ -DLLVM_ENABLE_FFI=1 \ @@ -24,14 +25,10 @@ build() { -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLLVM_APPEND_VC_REV=0 \ - -Wno-dev .. + -Wno-dev - MAKEFLAGS="$MAKEFLAGS" make - make DESTDIR=$PKG install - - # multilib stub - mv $PKG/usr/include/llvm/Config/llvm-config{,-64}.h - install -m 0644 $SRC/llvm-config.h $PKG/usr/include/llvm/Config/ + ninja + DESTDIR=$PKG ninja install # only clang may be left, remove llvm rm -r $PKG/usr/include/llvm{,-c} @@ -42,4 +39,5 @@ build() { mv $PKG/usr/libexec/{c++-analyzer,ccc-analyzer} $PKG/usr/lib/clang rmdir $PKG/usr/libexec + sed -i 's|libexec|lib/clang|' $PKG/usr/bin/scan-build }