[MacPorts] #34214: Install clang development headers

MacPorts noreply at macports.org
Thu Apr 26 12:53:15 PDT 2012


#34214: Install clang development headers
--------------------------------------+-------------------------------------
 Reporter:  jonesc@…                  |       Owner:  jeremyhu@…           
     Type:  enhancement               |      Status:  assigned             
 Priority:  Normal                    |   Milestone:                       
Component:  ports                     |     Version:  2.0.4                
 Keywords:                            |        Port:  clang-3.1            
--------------------------------------+-------------------------------------

Comment(by jonesc@…):

 I should have checked the build log more carefully. The headers are there,
 just not where I expected them to be

 {{{

 macmini ~ > ls /opt/local/libexec/llvm-3.1/include/clang/*
 /opt/local/libexec/llvm-3.1/include/clang/ARCMigrate:
 ARCMT.h         ARCMTActions.h  FileRemapper.h

 /opt/local/libexec/llvm-3.1/include/clang/AST:
 APValue.h               CanonicalType.h         DeclarationName.h
 PrettyPrinter.h         Type.h
 AST.h                   CharUnits.h             DependentDiagnostic.h
 RecordLayout.h          TypeLoc.h
 ASTConsumer.h           Decl.h                  EvaluatedExprVisitor.h
 RecursiveASTVisitor.h   TypeLocNodes.def
 ASTContext.h            DeclAccessPair.h        Expr.h
 Redeclarable.h          TypeLocVisitor.h
 ASTDiagnostic.h         DeclBase.h              ExprCXX.h
 SelectorLocationsKind.h TypeNodes.def
 ASTImporter.h           DeclCXX.h               ExprObjC.h
 Stmt.h                  TypeOrdering.h
 ASTMutationListener.h   DeclContextInternals.h  ExternalASTSource.h
 StmtCXX.h               TypeVisitor.h
 ASTVector.h             DeclFriend.h            GlobalDecl.h
 StmtGraphTraits.h       UnresolvedSet.h
 Attr.h                  DeclGroup.h             LambdaMangleContext.h
 StmtIterator.h          VTTBuilder.h
 AttrImpl.inc            DeclLookups.h           Mangle.h
 StmtNodes.inc           VTableBuilder.h
 Attrs.inc               DeclNodes.inc           NSAPI.h
 StmtObjC.h
 BaseSubobject.h         DeclObjC.h              NestedNameSpecifier.h
 StmtVisitor.h
 BuiltinTypes.def        DeclTemplate.h          OperationKinds.h
 TemplateBase.h
 CXXInheritance.h        DeclVisitor.h           ParentMap.h
 TemplateName.h

 /opt/local/libexec/llvm-3.1/include/clang/Analysis:
 Analyses                CFG.h                   DomainSpecific
 Support
 AnalysisContext.h       CFGStmtMap.h            FlowSensitive
 Visitors
 AnalysisDiagnostic.h    CallGraph.h             ProgramPoint.h

 /opt/local/libexec/llvm-3.1/include/clang/Basic:
 ABI.h                                   DiagnosticIDs.h
 OpenCLExtensions.def
 AddressSpaces.h                         DiagnosticIndexName.inc
 OperatorKinds.def
 AllDiagnostics.h                        DiagnosticLexKinds.inc
 OperatorKinds.h
 AttrKinds.h                             DiagnosticParseKinds.inc
 PartialDiagnostic.h
 AttrList.inc                            DiagnosticSemaKinds.inc
 PrettyStackTrace.h
 Builtins.def                            DiagnosticSerializationKinds.inc
 SourceLocation.h
 Builtins.h                              ExceptionSpecificationType.h
 SourceManager.h
 BuiltinsARM.def                         ExpressionTraits.h
 SourceManagerInternals.h
 BuiltinsHexagon.def                     FileManager.h
 Specifiers.h
 BuiltinsPPC.def                         FileSystemOptions.h
 TargetBuiltins.h
 BuiltinsPTX.def                         FileSystemStatCache.h
 TargetInfo.h
 BuiltinsX86.def                         IdentifierTable.h
 TargetOptions.h
 ConvertUTF.h                            LLVM.h
 TemplateKinds.h
 Diagnostic.h                            Lambda.h
 TokenKinds.def
 DiagnosticASTKinds.inc                  LangOptions.def
 TokenKinds.h
 DiagnosticAnalysisKinds.inc             LangOptions.h
 TypeTraits.h
 DiagnosticCategories.h                  Linkage.h
 Version.h
 DiagnosticCommonKinds.inc               MacroBuilder.h
 Version.inc
 DiagnosticDriverKinds.inc               Module.h
 VersionTuple.h
 DiagnosticFrontendKinds.inc             OnDiskHashTable.h
 Visibility.h
 DiagnosticGroups.inc                    OpenCL.h
 arm_neon.inc

 /opt/local/libexec/llvm-3.1/include/clang/CodeGen:
 BackendUtil.h   CodeGenAction.h ModuleBuilder.h

 /opt/local/libexec/llvm-3.1/include/clang/Config:
 config.h

 /opt/local/libexec/llvm-3.1/include/clang/Driver:
 Action.h                CC1Options.h            Job.h
 Options.h               Types.def
 Arg.h                   CC1Options.inc          ObjCRuntime.h
 Options.inc             Types.h
 ArgList.h               Compilation.h           OptSpecifier.h
 Phases.h                Util.h
 CC1AsOptions.h          Driver.h                OptTable.h
 Tool.h
 CC1AsOptions.inc        DriverDiagnostic.h      Option.h
 ToolChain.h

 /opt/local/libexec/llvm-3.1/include/clang/Edit:
 Commit.h        EditedSource.h  EditsReceiver.h FileOffset.h
 Rewriters.h

 /opt/local/libexec/llvm-3.1/include/clang/Frontend:
 ASTConsumers.h                  CompilerInvocation.h
 HeaderSearchOptions.h           SerializedDiagnosticPrinter.h
 ASTUnit.h                       DependencyOutputOptions.h
 LangStandard.h                  TextDiagnostic.h
 Analyses.def                    DiagnosticOptions.h
 LangStandards.def               TextDiagnosticBuffer.h
 AnalyzerOptions.h               DiagnosticRenderer.h
 LayoutOverrideSource.h          TextDiagnosticPrinter.h
 ChainedDiagnosticConsumer.h     FrontendAction.h
 LogDiagnosticPrinter.h          Utils.h
 ChainedIncludesSource.h         FrontendActions.h
 MigratorOptions.h               VerifyDiagnosticConsumer.h
 CodeGenOptions.h                FrontendDiagnostic.h
 MultiplexConsumer.h
 CommandLineSourceLoc.h          FrontendOptions.h
 PreprocessorOptions.h
 CompilerInstance.h              FrontendPluginRegistry.h
 PreprocessorOutputOptions.h

 /opt/local/libexec/llvm-3.1/include/clang/FrontendTool:
 Utils.h

 /opt/local/libexec/llvm-3.1/include/clang/Lex:
 AttrSpellings.inc               LexDiagnostic.h
 MultipleIncludeOpt.h            Preprocessor.h
 CodeCompletionHandler.h         Lexer.h
 PPCallbacks.h                   PreprocessorLexer.h
 DirectoryLookup.h               LiteralSupport.h                PTHLexer.h
 ScratchBuffer.h
 ExternalPreprocessorSource.h    MacroInfo.h
 PTHManager.h                    Token.h
 HeaderMap.h                     ModuleLoader.h                  Pragma.h
 TokenConcatenation.h
 HeaderSearch.h                  ModuleMap.h
 PreprocessingRecord.h           TokenLexer.h

 /opt/local/libexec/llvm-3.1/include/clang/Parse:
 AttrLateParsed.inc      ParseAST.h              ParseDiagnostic.h
 Parser.h

 /opt/local/libexec/llvm-3.1/include/clang/Rewrite:
 ASTConsumers.h          FixItRewriter.h         HTMLRewrite.h
 Rewriter.h              TokenRewriter.h
 DeltaTree.h             FrontendActions.h       RewriteRope.h
 Rewriters.h

 /opt/local/libexec/llvm-3.1/include/clang/Sema:
 AnalysisBasedWarnings.h         DelayedDiagnostic.h             Overload.h
 SemaDiagnostic.h
 AttrParsedAttrKinds.inc         Designator.h
 Ownership.h                     SemaFixItUtils.h
 AttrParsedAttrList.inc          ExternalSemaSource.h
 ParsedTemplate.h                SemaInternal.h
 AttrTemplateInstantiate.inc     IdentifierResolver.h
 PrettyDeclStackTrace.h          Template.h
 AttributeList.h                 Initialization.h                Scope.h
 TemplateDeduction.h
 CXXFieldCollector.h             LocInfoType.h
 ScopeInfo.h                     TypoCorrection.h
 CodeCompleteConsumer.h          Lookup.h                        Sema.h
 Weak.h
 DeclSpec.h                      ObjCMethodList.h
 SemaConsumer.h

 /opt/local/libexec/llvm-3.1/include/clang/Serialization:
 ASTBitCodes.h                   ASTWriter.h
 ContinuousRangeMap.h            SerializationDiagnostic.h
 ASTDeserializationListener.h    AttrPCHRead.inc                 Module.h
 ASTReader.h                     AttrPCHWrite.inc
 ModuleManager.h

 /opt/local/libexec/llvm-3.1/include/clang/StaticAnalyzer:
 Checkers        Core            Frontend

 /opt/local/libexec/llvm-3.1/include/clang/Tooling:
 CompilationDatabase.h   Tooling.h
 macmini ~ >
 }}}

 Is that where you expected them to be ?

 Chris

-- 
Ticket URL: <https://trac.macports.org/ticket/34214#comment:16>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list