<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/lib/clang/libllvmx86desc, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2016-08-26T22:44:22Z</updated>
<entry>
<title>Completely revamp the way llvm, clang and lldb are built.</title>
<updated>2016-08-26T22:44:22Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2016-08-26T22:44:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=986e05bc2a18e58ffe5ad5c944e4c188d01a4462'/>
<id>urn:sha1:986e05bc2a18e58ffe5ad5c944e4c188d01a4462</id>
<content type='text'>
* Bootstrap llvm-tblgen and clang-tblgen with a minimal llvm static
  library, that has no other dependencies.
* Roll up all separate llvm libraries into one big static libllvm.
* Similar for all separate clang and lldb static libraries.
* For all these libraries, generate their .inc files only once.
* Link all llvm tools (including extra) against the big libllvm.
* Link clang and clang-format against the big libllvm and libclang.
* Link lldb against the big libllvm, libclang and liblldb.

N.B.: This is work in progress, some details may still be missing.

It also heavily depends on bsd.*.mk's support for SRCS and DPSRCS with
relative pathnames, which apparently does not always work as expected.
For building llvm, clang and lldb though, it seems to work just fine.

The main idea behind this restructuring is maintainability and build
peformance.  The previous large number of very small libraries, each
with their own generated files and dependencies was slow to traverse
and hard to understand.

Possible future improvements:
* Only build certain targets, e.g. for most regular users having just
  one target will be fine.  This will shave off some build time.
* Building the big llvm, clang and lldb libraries as shared (private)
  libraries.
* Adding other components from the LLVM project, such as lld.
</content>
</entry>
<entry>
<title>Update build glue for clang and the llvm/clang extras.</title>
<updated>2016-08-19T17:55:34Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2016-08-19T17:55:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=7fff4413af5f22ce98eac43f9a94cfe77d5fcef1'/>
<id>urn:sha1:7fff4413af5f22ce98eac43f9a94cfe77d5fcef1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>DIRDEPS_BUILD: Update clang dependencies after r296417.</title>
<updated>2016-03-08T21:26:44Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2016-03-08T21:26:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=f51eac06ce2352c576777d0a8e2b42a8d2e528d4'/>
<id>urn:sha1:f51eac06ce2352c576777d0a8e2b42a8d2e528d4</id>
<content type='text'>
Sponsored by:	EMC / Isilon Storage Division
</content>
</entry>
<entry>
<title>DIRDEPS_BUILD: Regenerate without local dependencies.</title>
<updated>2016-02-24T17:20:11Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2016-02-24T17:20:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=bd18fd57db1df29da1a3adf94d47924a977a29c2'/>
<id>urn:sha1:bd18fd57db1df29da1a3adf94d47924a977a29c2</id>
<content type='text'>
These are no longer needed after the recent 'beforebuild: depend' changes
and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports
skipping 'make depend'.

Sponsored by:	EMC / Isilon Storage Division
</content>
</entry>
<entry>
<title>Add META_MODE support.</title>
<updated>2015-06-13T19:20:56Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2015-06-13T19:20:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=ccfb965433c67f3bda935a3cdf334be2e3c4348d'/>
<id>urn:sha1:ccfb965433c67f3bda935a3cdf334be2e3c4348d</id>
<content type='text'>
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.

Still need to add real targets under targets/ to build packages.

Differential Revision:       D2796
Reviewed by: brooks imp
</content>
</entry>
<entry>
<title>dirdeps.mk now sets DEP_RELDIR</title>
<updated>2015-06-08T23:35:17Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2015-06-08T23:35:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=44d314f704764f0247a540648a4b4fc3e8012133'/>
<id>urn:sha1:44d314f704764f0247a540648a4b4fc3e8012133</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge sync of head</title>
<updated>2015-05-27T01:19:58Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2015-05-27T01:19:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=98e0ffaefb0f241cda3a72395d3be04192ae0d47'/>
<id>urn:sha1:98e0ffaefb0f241cda3a72395d3be04192ae0d47</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update llvm and clang library Makefiles.</title>
<updated>2014-11-24T19:46:35Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2014-11-24T19:46:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=281cb6ece0bba5f13807cd7f8b951e2f6ad9bc31'/>
<id>urn:sha1:281cb6ece0bba5f13807cd7f8b951e2f6ad9bc31</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Updated dependencies</title>
<updated>2014-05-16T14:09:51Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2014-05-16T14:09:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=fae50821ae22099d0406090228bc4c5b6af693ad'/>
<id>urn:sha1:fae50821ae22099d0406090228bc4c5b6af693ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge head</title>
<updated>2014-04-28T07:50:45Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2014-04-28T07:50:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=3b8f08459569bf0faa21473e5cec2491e95c9349'/>
<id>urn:sha1:3b8f08459569bf0faa21473e5cec2491e95c9349</id>
<content type='text'>
</content>
</entry>
</feed>
