Hi,
Clearly clang-7.0 and llvm-.7.0 cannot depend on clang-7.0 as a build
dependency, that will never work.
I do not see this though myself, in my OSX10.6 VM. There they both
depend on clang-3.7 to build. See below. This is fine.
You must have done something locally in your checkout to cause this
circular dependency... ??
cheers Chris
MacVM106 ~/Projects/MacPorts/legacy-support > port info clang-7.0 llvm-7.0
clang-7.0 @7.0.1 (lang)
Variants: [+]analyzer, assertions, debug, [+]emulated_tls,
[+]libstdcxx, universal
Description: Clang is an LLVM native C/C++/Objective-C
compiler, which aims to deliver amazingly fast compiles (e.g. about 3x
faster than GCC when compiling
Objective-C code in a debug configuration),
extremely useful error and warning messages and to provide a platform
for building great source level
tools. The included Clang Static Analyzer is a
tool that automatically finds bugs in your code, and is a great example
of the sort of tool that can
be built using the Clang frontend as a library to
parse C/C++ code.
Homepage: https://clang.llvm.org/
Extract Dependencies: xz
Build Dependencies: cmake, cctools, cctools, clang-3.7
Library Dependencies: libxml2, libomp, llvm-7.0, python27, libedit,
libffi, ncurses, zlib, libcxx
Runtime Dependencies: clang_select, ld64, cctools, perl5
Platforms: darwin
License: NCSA
Maintainers: Email: [email protected], GitHub: jeremyhu
Email: [email protected], GitHub: larryv
--
llvm-7.0 @7.0.1 (lang)
Sub-ports: clang-7.0, lldb-7.0
Variants: assertions, debug, [+]emulated_tls, ocaml, polly,
universal
Description: The LLVM Core libraries provide a modern source-
and target-independent optimizer, along with code generation support for
many popular CPUs (as well
as some less common ones!) These libraries are
built around a well specified code representation known as the LLVM
intermediate representation ("LLVM
IR").
Homepage: https://llvm.org/
Extract Dependencies: xz
Build Dependencies: cmake, cctools, clang-3.7
Library Dependencies: libedit, libffi, ncurses, xar, zlib, libcxx
Runtime Dependencies: perl5, llvm_select
Platforms: darwin
License: NCSA
Maintainers: Email: [email protected], GitHub: jeremyhu
Email: [email protected], GitHub: larryv
On 08/02/2019 3:59 pm, Michael Dickens wrote:
It looks like on OSX 10.6 (and, thus possibly elsewhere) that llvm-7.0 and clang-7.0
create a circular dependency ... see the attached info. Not sure how to work around this,
but it is quite a PITA to do the equivalent of "sudo port upgrade outdated"
manually port by port ... Hoping someone can either fix this issue or tell me how to work
around it so that I can make faster progress ... thx! - MLD
$ uname -a
Darwin mbp13-10-6.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7
16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
$ port info clang-7.0 llvm-7.0
clang-7.0 @7.0.1 (lang)
Variants: [+]analyzer, assertions, debug, [+]emulated_tls,
[+]libstdcxx, universal
Description: Clang is an LLVM native C/C++/Objective-C compiler, which
aims to deliver amazingly fast compiles (e.g. about 3x
faster than GCC when compiling Objective-C code in a
debug
configuration), extremely useful error and warning
messages and to provide a platform for building great
source level tools. The included Clang Static Analyzer is
a tool that automatically finds bugs in your code, and is
a great example of the sort of tool that can be built
using the Clang frontend as a library to parse C/C++
code.
Homepage: https://clang.llvm.org/
Extract Dependencies: xz
Build Dependencies: cmake, cctools, cctools, clang-7.0
Library Dependencies: libxml2, libomp, llvm-7.0, python27, libedit, libffi,
ncurses, zlib, libcxx
Runtime Dependencies: clang_select, ld64, cctools, perl5
Platforms: darwin
License: NCSA
Maintainers: Email: [email protected], GitHub: jeremyhu
Email: [email protected], GitHub: larryv
--
llvm-7.0 @7.0.1 (lang)
Sub-ports: clang-7.0, lldb-7.0
Variants: assertions, debug, [+]emulated_tls, ocaml, polly,
universal
Description: The LLVM Core libraries provide a modern source- and
target-independent optimizer, along with code generation
support for many popular CPUs (as well as some less
common
ones!) These libraries are built around a well specified
code representation known as the LLVM intermediate
representation ("LLVM IR").
Homepage: https://llvm.org/
Extract Dependencies: xz
Build Dependencies: cmake, cctools, clang-7.0
Library Dependencies: libedit, libffi, ncurses, xar, zlib, libcxx
Runtime Dependencies: perl5, llvm_select
Platforms: darwin
License: NCSA
Maintainers: Email: [email protected], GitHub: jeremyhu
Email: [email protected], GitHub: larryv