Date: Thu, 29 Sep 2022 22:48:48 GMT From: Brooks Davis <brooks@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: a3c9588e81dd - main - devel/llvm-devel: simplify option declerations (NFC) Message-ID: <202209292248.28TMmmmM052208@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/ports/commit/?id=a3c9588e81ddae1fe37bb1f091b135c7b8e423d1 commit a3c9588e81ddae1fe37bb1f091b135c7b8e423d1 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2022-09-29 22:48:40 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2022-09-29 22:48:40 +0000 devel/llvm-devel: simplify option declerations (NFC) In for non-lite flavors, include and DEFINE and DEFAULT COMPILER_RT and OPENMP and then EXCLUDE them on 32-bit arm and all 32-bit systems respectively. --- devel/llvm-devel/Makefile | 34 ++++++++++++++-------------------- 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/devel/llvm-devel/Makefile b/devel/llvm-devel/Makefile index 44dfdb56e7fe..0058f2713183 100644 --- a/devel/llvm-devel/Makefile +++ b/devel/llvm-devel/Makefile @@ -82,26 +82,20 @@ GH_TAGNAME= ${LLVM_PROJECT_COMMIT} OPTIONS_DEFINE= CLANG DOCS LLD STATIC_LIBS OPTIONS_DEFAULT= CLANG LLD .if !${FLAVOR:Mlite} -OPTIONS_DEFINE_aarch64= COMPILER_RT OPENMP -OPTIONS_DEFINE+= EXTRAS FLANG LIT LLDB MLIR -OPTIONS_DEFINE_amd64= COMPILER_RT GOLD OPENMP -OPTIONS_DEFINE_i386= COMPILER_RT -OPTIONS_DEFINE_powerpc= COMPILER_RT GOLD -OPTIONS_DEFINE_powerpc64= COMPILER_RT GOLD OPENMP -OPTIONS_DEFINE_powerpc64le= COMPILER_RT GOLD OPENMP -OPTIONS_DEFINE_riscv64= COMPILER_RT OPENMP -OPTIONS_DEFAULT+= EXTRAS FLANG LIT LLDB STATIC_LIBS -OPTIONS_DEFAULT_aarch64= COMPILER_RT OPENMP -OPTIONS_DEFAULT_amd64= COMPILER_RT GOLD OPENMP -OPTIONS_DEFAULT_i386= COMPILER_RT -OPTIONS_DEFAULT_powerpc= COMPILER_RT GOLD -OPTIONS_DEFAULT_powerpc64= COMPILER_RT GOLD OPENMP -OPTIONS_DEFAULT_powerpc64le= COMPILER_RT GOLD OPENMP -OPTIONS_DEFAULT_riscv64= COMPILER_RT OPENMP -OPTIONS_EXCLUDE_armv6= FLANG -OPTIONS_EXCLUDE_armv7= FLANG -OPTIONS_EXCLUDE_i386= FLANG -OPTIONS_EXCLUDE_powerpc= FLANG +OPTIONS_DEFINE+= COMPILER_RT EXTRAS FLANG LIT LLDB MLIR OPENMP +OPTIONS_DEFINE_amd64= GOLD +OPTIONS_DEFINE_powerpc= GOLD +OPTIONS_DEFINE_powerpc64= GOLD +OPTIONS_DEFINE_powerpc64le= GOLD +OPTIONS_DEFAULT+= COMPILER_RT EXTRAS FLANG LIT LLDB STATIC_LIBS OPENMP +OPTIONS_DEFAULT_amd64= GOLD +OPTIONS_DEFAULT_powerpc= GOLD +OPTIONS_DEFAULT_powerpc64= GOLD +OPTIONS_DEFAULT_powerpc64le= GOLD +OPTIONS_EXCLUDE_armv6= COMPILER_RT FLANG OPENMP +OPTIONS_EXCLUDE_armv7= COMPILER_RT FLANG OPENMP +OPTIONS_EXCLUDE_i386= FLANG OPENMP +OPTIONS_EXCLUDE_powerpc= FLANG OPENMP OPTIONS_EXCLUDE_riscv64= LLDB .endif OPTIONS_SUB= yes
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209292248.28TMmmmM052208>