Skip to content

Commit

Permalink
Update libclang, libllvm, llc and lli Makefiles.
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitryAndric committed Feb 9, 2024
1 parent e025714 commit ddf7238
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
7 changes: 4 additions & 3 deletions lib/clang/libclang/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ SRCS_MIN+= AST/Interp/ByteCodeStmtGen.cpp
SRCS_MIN+= AST/Interp/Context.cpp
SRCS_MIN+= AST/Interp/Descriptor.cpp
SRCS_MIN+= AST/Interp/EvalEmitter.cpp
SRCS_MIN+= AST/Interp/EvaluationResult.cpp
SRCS_MIN+= AST/Interp/Floating.cpp
SRCS_MIN+= AST/Interp/Frame.cpp
SRCS_MIN+= AST/Interp/Function.cpp
Expand Down Expand Up @@ -966,11 +967,11 @@ clang/Basic/AttrSubMatchRulesList.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
${CLANG_SRCS}/include/clang/Basic/Attr.td
TGHDRS+= clang/Basic/AttrSubMatchRulesList.inc

clang/Basic/AttrTokenKinds.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
${CLANG_TBLGEN} -gen-clang-attr-token-kinds \
clang/Basic/RegularKeywordAttrInfo.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
${CLANG_TBLGEN} -gen-clang-regular-keyword-attr-info \
-I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
${CLANG_SRCS}/include/clang/Basic/Attr.td
TGHDRS+= clang/Basic/AttrTokenKinds.inc
TGHDRS+= clang/Basic/RegularKeywordAttrInfo.inc

.for hdr in \
AST Analysis Comment Common CrossTU Driver Frontend Lex Parse \
Expand Down
7 changes: 6 additions & 1 deletion lib/clang/libllvm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ SRCS_MIN+= Analysis/TrainingLogger.cpp
SRCS_MIN+= Analysis/TypeBasedAliasAnalysis.cpp
SRCS_MIN+= Analysis/TypeMetadataUtils.cpp
SRCS_MIN+= Analysis/UniformityAnalysis.cpp
SRCS_MIN+= Analysis/VFABIDemangling.cpp
SRCS_MIN+= Analysis/ValueLattice.cpp
SRCS_MIN+= Analysis/ValueLatticeUtils.cpp
SRCS_MIN+= Analysis/ValueTracking.cpp
Expand Down Expand Up @@ -366,6 +365,7 @@ SRCS_MIN+= CodeGen/MachineModuleSlotTracker.cpp
SRCS_MIN+= CodeGen/MachineOperand.cpp
SRCS_MIN+= CodeGen/MachineOptimizationRemarkEmitter.cpp
SRCS_MIN+= CodeGen/MachineOutliner.cpp
SRCS_MIN+= CodeGen/MachinePassManager.cpp
SRCS_MIN+= CodeGen/MachinePipeliner.cpp
SRCS_MIN+= CodeGen/MachinePostDominators.cpp
SRCS_MIN+= CodeGen/MachineRegionInfo.cpp
Expand Down Expand Up @@ -491,6 +491,7 @@ SRCS_EXT+= DWARFLinker/Classic/DWARFLinker.cpp
SRCS_EXT+= DWARFLinker/Classic/DWARFLinkerCompileUnit.cpp
SRCS_EXT+= DWARFLinker/Classic/DWARFLinkerDeclContext.cpp
SRCS_EXT+= DWARFLinker/Classic/DWARFStreamer.cpp
SRCS_EXT+= DWARFLinker/DWARFLinkerBase.cpp
SRCS_EXT+= DWARFLinker/Parallel/AcceleratorRecordsSaver.cpp
SRCS_EXT+= DWARFLinker/Parallel/DIEAttributeCloner.cpp
SRCS_EXT+= DWARFLinker/Parallel/DWARFEmitterImpl.cpp
Expand Down Expand Up @@ -780,6 +781,7 @@ SRCS_XDB+= ExecutionEngine/SectionMemoryManager.cpp
SRCS_XDB+= ExecutionEngine/TargetSelect.cpp
SRCS_MIN+= Frontend/Driver/CodeGenOptions.cpp
SRCS_MIN+= Frontend/HLSL/HLSLResource.cpp
SRCS_MIN+= Frontend/Offloading/OffloadWrapper.cpp
SRCS_MIN+= Frontend/Offloading/Utility.cpp
SRCS_MIN+= Frontend/OpenMP/OMP.cpp
SRCS_MIN+= Frontend/OpenMP/OMPContext.cpp
Expand Down Expand Up @@ -849,6 +851,7 @@ SRCS_MIN+= IR/Type.cpp
SRCS_MIN+= IR/TypeFinder.cpp
SRCS_MIN+= IR/Use.cpp
SRCS_MIN+= IR/User.cpp
SRCS_MIN+= IR/VFABIDemangler.cpp
SRCS_MIN+= IR/Value.cpp
SRCS_MIN+= IR/ValueSymbolTable.cpp
SRCS_MIN+= IR/Verifier.cpp
Expand Down Expand Up @@ -1231,6 +1234,7 @@ SRCS_MIN+= TableGen/TableGenBackend.cpp
SRCS_MIN+= Target/AArch64/AArch64A53Fix835769.cpp
SRCS_MIN+= Target/AArch64/AArch64A57FPLoadBalancing.cpp
SRCS_MIN+= Target/AArch64/AArch64AdvSIMDScalarPass.cpp
SRCS_MIN+= Target/AArch64/AArch64Arm64ECCallLowering.cpp
SRCS_MIN+= Target/AArch64/AArch64AsmPrinter.cpp
SRCS_MIN+= Target/AArch64/AArch64BranchTargets.cpp
SRCS_MIN+= Target/AArch64/AArch64CallingConvention.cpp
Expand Down Expand Up @@ -1610,6 +1614,7 @@ SRCS_MIN+= Target/X86/X86AvoidTrailingCall.cpp
SRCS_MIN+= Target/X86/X86CallFrameOptimization.cpp
SRCS_MIN+= Target/X86/X86CallingConv.cpp
SRCS_MIN+= Target/X86/X86CmovConversion.cpp
SRCS_MIN+= Target/X86/X86CodeGenPassBuilder.cpp
SRCS_MIN+= Target/X86/X86CompressEVEX.cpp
SRCS_MIN+= Target/X86/X86DiscriminateMemOps.cpp
SRCS_MIN+= Target/X86/X86DomainReassignment.cpp
Expand Down
1 change: 1 addition & 0 deletions usr.bin/clang/llc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
PROG_CXX= llc

SRCDIR= llvm/tools/llc
SRCS+= NewPMDriver.cpp
SRCS+= llc.cpp

.include "../llvm.prog.mk"
1 change: 0 additions & 1 deletion usr.bin/clang/lli/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
PROG_CXX= lli

SRCDIR= llvm/tools/lli
SRCS+= ExecutionUtils.cpp
SRCS+= lli.cpp

.include "../llvm.prog.mk"

0 comments on commit ddf7238

Please sign in to comment.