notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
include-what-you-use Tool for use with clang to analyze #includes in C and C++ source files
0.15 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.15Version of this port present on the latest quarterly branch.
Maintainer: koobs@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2016-02-21 15:05:33
Last Update: 2021-04-22 12:40:36
Commit Hash: 2c9f5d1
License: NCSA
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (25 items)
Collapse this list.
  1. /usr/local/share/licenses/include-what-you-use-0.15/catalog.mk
  2. /usr/local/share/licenses/include-what-you-use-0.15/LICENSE
  3. /usr/local/share/licenses/include-what-you-use-0.15/NCSA
  4. bin/fix_includes.py
  5. bin/include-what-you-use
  6. bin/iwyu_tool.py
  7. man/man1/include-what-you-use.1.gz
  8. share/include-what-you-use/boost-1.64-all-private.imp
  9. share/include-what-you-use/boost-1.64-all.imp
  10. share/include-what-you-use/boost-all-private.imp
  11. share/include-what-you-use/boost-all.imp
  12. share/include-what-you-use/clang-6.intrinsics.imp
  13. share/include-what-you-use/gcc-8.intrinsics.imp
  14. share/include-what-you-use/gcc.libc.imp
  15. share/include-what-you-use/gcc.stl.headers.imp
  16. share/include-what-you-use/gcc.symbols.imp
  17. share/include-what-you-use/iwyu.gcc.imp
  18. share/include-what-you-use/libcxx.imp
  19. share/include-what-you-use/qt4.imp
  20. share/include-what-you-use/qt5_11.imp
  21. share/include-what-you-use/qt5_4.imp
  22. share/include-what-you-use/stl.c.headers.imp
  23. @owner
  24. @group
  25. @mode
Collapse this list.
Dependency lines:
  • include-what-you-use>0:devel/include-what-you-use
To install the port: cd /usr/ports/devel/include-what-you-use/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/include-what-you-use
  • pkg install include-what-you-use
PKGNAME: include-what-you-use
Flavors: there is no flavor information for this port.
distinfo:
Packages (timestamps in pop-ups are UTC):
include-what-you-use
ABIlatestquarterly
FreeBSD:11:aarch640.10-
FreeBSD:11:amd640.150.15
FreeBSD:11:armv60.5_1-
FreeBSD:11:i3860.150.15
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch640.100.15
FreeBSD:12:amd640.150.15
FreeBSD:12:armv60.10-
FreeBSD:12:armv70.10-
FreeBSD:12:i3860.150.15
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64-0.15
FreeBSD:13:aarch64-0.15
FreeBSD:13:amd640.150.15
FreeBSD:13:armv6-0.15
FreeBSD:13:armv7-0.15
FreeBSD:13:i3860.150.15
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc640.12_10.15
FreeBSD:14:aarch640.15-
FreeBSD:14:amd640.15-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i3860.15-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc640.12_1-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. clang11 : devel/llvm11
  2. cmake : devel/cmake
  3. ninja : devel/ninja
Runtime dependencies:
  1. clang11 : devel/llvm11
  2. python3.8 : lang/python38
There are no ports dependent upon this port

Configuration Options:
Options name:

USES:

FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/include-what-you-use/include-what-you-use/tar.gz/clang_11?dummy=/
Collapse this list.

Number of commits found: 24

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
22 Apr 2021 12:40:36
 files touched by this commit commit hash:2c9f5d1cb54dc06c60f83ee79435c0bdf579e65d  0.15
rene search for other commits by this committer
devel/include-what-you-use: update to 0.15

PR:             255189
Approved by:    koobs (maintainer)
MFH:		2021Q2 (several bugfix releases)
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  0.12_1
mat search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
13 Oct 2020 02:41:53
Original commit files touched by this commit Revision:552176  0.12_1
linimon search for other commits by this committer
Now builds on powerpc64-12.

Approved by:	portmgr (tier-2 blanket)
17 May 2020 21:11:13
Original commit files touched by this commit Revision:535682  0.12_1
linimon search for other commits by this committer
Mark as broken on powerpc64:

  IWYU: configuring for LLVM 8.0.1...
  Could NOT find Git (missing: GIT_EXECUTABLE)

I have investigated but don't know why it breaks here but builds elsewhere.

Approved by:	portmgr (tier-2 blanket)
09 Aug 2019 09:56:32
Original commit files touched by this commit Revision:508433  0.12_1
linimon search for other commits by this committer
Escape hashtag character in COMMENT.
07 Aug 2019 08:40:45
Original commit files touched by this commit Revision:508300  0.12_1
linimon search for other commits by this committer
Refactor out the constant string '80' to ease future maintenance.
26 Jul 2019 20:46:57
Original commit files touched by this commit Revision:507372  0.12_1
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
24 Apr 2019 05:38:20
Original commit files touched by this commit Revision:499810  0.12
koobs search for other commits by this committer
devel/include-what-you-use: Update to 0.12

Changelog:

 
https://github.com/include-what-you-use/include-what-you-use/releases/tag/clang_8.0
23 Apr 2019 05:29:45
Original commit files touched by this commit Revision:499716  0.11
koobs search for other commits by this committer
devel/include-what-you-use: Update to 0.11

PR:		234429
Submitted by:	Greg V <greg unrelenting.technology>
12 Mar 2019 01:05:27
Original commit files touched by this commit Revision:495405  0.10
linimon search for other commits by this committer
Fix build on gcc-based architectures:

  cc1plus: error: unrecognized command line option "-std=c++11"

Approved by:	portmgr (tier-2 blanket)
25 Dec 2018 20:25:40
Original commit files touched by this commit Revision:488341  0.10
tcberner search for other commits by this committer
Change cmake default behaviour to outsource.

Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
30 Oct 2018 18:34:39
Original commit files touched by this commit Revision:483508  0.10
linimon search for other commits by this committer
Now builds on powerpc64.
13 Aug 2018 16:55:50
Original commit files touched by this commit Revision:477079  0.10
rene search for other commits by this committer
devel/include-what-you-use: return to koobs@ per his request.
05 Aug 2018 20:45:47
Original commit files touched by this commit Revision:476475  0.10
rene search for other commits by this committer
devel/include-what-you-use: update to version 0.10

This version uses clang 6.0

Take over maintainership.

Approved by:	 koobs (implicit, three consecutive maintainer timeouts)
29 Jan 2018 11:11:03
Original commit files touched by this commit Revision:460253  0.8_1
jbeich search for other commits by this committer
devel/include-what-you-use: switch to llvm50 (like r457360)

PR:		224617
Approved by:	maintainer timeout (1 month)
MFH:		2018Q1
24 Dec 2017 14:20:07
Original commit files touched by this commit Revision:457165  0.8
rene search for other commits by this committer
devel/include-what-you-use: update to version 0.8

This version uses clang 4.0 instead of clang 3.9 to check files.
While here, pet portlint.

PR:		223537
Submitted by:	Anton Yuzhaninov (citrin+pr@citrin.ru)
Approved by:	maintainer timeout (koobs, 7 weeks)
21 May 2017 21:55:08
Original commit files touched by this commit Revision:441429  0.7_1
linimon search for other commits by this committer
Mark some ports failing on power64.  In cases where the error message
was a stub, provide a real one.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
Reported by:	swills
16 May 2017 21:05:41
Original commit files touched by this commit Revision:441058  0.7_1
tcberner search for other commits by this committer
Fix shebangs.

Approved by:	rakuco (mentor, implicit)
01 Jan 2017 03:45:13
Original commit files touched by this commit Revision:430235  0.7
sunpoet search for other commits by this committer
Remove BROKEN_FreeBSD_9

Approved by:	portmgr (blanket)
27 Dec 2016 12:16:32
Original commit files touched by this commit Revision:429611  0.7
rene search for other commits by this committer
devel/include-what-you-use: update to version 0.7

- now uses clang 3.9 instead of clang 3.7
- add mappings for Qt 5.4
- premilinary mapings for libc++
- bugfix in fix_incudes.py
- various other fixes and enhancements
- add pkg-plist

PR:		215211
Submitted by:	rene
Approved by:	maintainer timeout (koobs, 16 days)
21 Oct 2016 08:40:09
Original commit files touched by this commit Revision:424392  0.5_1
amdmi3 search for other commits by this committer
- Mark broken on 9.x:

cc1plus: error: unrecognized command line option "-std=c++11"

Approved by:	portmgr blanket
01 Apr 2016 14:00:57
Original commit files touched by this commit Revision:412346  0.5_1
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
09 Mar 2016 11:12:05
Original commit files touched by this commit Revision:410698  0.5_1
antoine search for other commits by this committer
Fix DEPENDS
21 Feb 2016 15:05:22
Original commit files touched by this commit Revision:409295  0.5
koobs search for other commits by this committer
[NEW] devel/include-what-you-use: Clang tool to analyze #includes in C and C++
sources

"Include what you use" means this: for every symbol (type, function,
variable, or macro) that you use in foo.cc (or foo.cpp), either foo.cc
or foo.h should include a .h file that exports the declaration of that
symbol. (Similarly, for foo_test.cc, either foo_test.cc or foo.h should
do the including.) Obviously symbols defined in foo.cc itself are
excluded from this requirement.

This puts us in a state where every file includes the headers it needs
to declare the symbols that it uses. When every file includes what it
uses, then it is possible to edit any file and remove unused headers,
without fear of accidentally breaking the upwards dependencies of
that file. It also becomes easy to automatically track and update
dependencies in the source code.

WWW: http://include-what-you-use.org

Number of commits found: 24