This is an archive of the discontinued LLVM Phabricator instance.

[gn] Fix build on macos
AbandonedPublic

Authored by yannic on Aug 5 2020, 12:13 PM.

Details

Summary

This fixes an error when running llvm/utils/gn/gn.py gen out/gn on macos:

ERROR at //llvm/tools/dsymutil/BUILD.gn:33:14: Unsupported value in libs.
    libs = [ "CoreFoundation.framework" ]
             ^-------------------------
Use frameworks to list framework dependencies.
See //llvm/test/BUILD.gn:205:5: which caused the file to be included.
    "//llvm/tools/dsymutil",
    ^----------------------

Diff Detail