Port details |
- include-what-you-use Tool for use with clang to analyze #includes in C and C++ source files
- 0.22 devel =2 0.22Version of this port present on the latest quarterly branch.
- Maintainer: bofh@FreeBSD.org
- Port Added: 2016-02-21 15:05:33
- Last Update: 2024-04-04 15:41:37
- Commit Hash: 6f32cb5
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- License: NCSA
- WWW:
- https://include-what-you-use.org
- Description:
- "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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - 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
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: include-what-you-use
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1712231546
SHA256 (include-what-you-use-include-what-you-use-0.22_GH0.tar.gz) = 34c7636da2abe7b86580b53b762f5269e71efff460f24f17d5913c56eb99cb7c
SIZE (include-what-you-use-include-what-you-use-0.22_GH0.tar.gz) = 796681
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- cmake : devel/cmake-core
- ninja : devel/ninja
- llvm-config18 : devel/llvm18
- Runtime dependencies:
-
- llvm-config18 : devel/llvm18
- python3.8 : lang/python38
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_include-what-you-use
- USES:
- cmake llvm:18,build,run ncurses python:3.8,run shebangfix
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.22 04 Apr 2024 15:41:37 |
Muhammad Moinur Rahman (bofh) |
devel/include-what-you-use: Update version 0.21=>0.22
Changelog:
https://github.com/include-what-you-use/include-what-you-use/releases/tag/0.22 |
0.21 12 Nov 2023 19:23:00 |
Muhammad Moinur Rahman (bofh) |
devel/include-what-you-use: Update version 3.3.1=>3.4.0
Changelog:
https://github.com/pytest-dev/pytest-xdist/releases/tag/v3.4.0 |
0.20 22 Apr 2023 17:48:38 |
Muhammad Moinur Rahman (bofh) |
devel/include-what-you-use: Update version 0.18=>0.20
Changelog:
https://github.com/include-what-you-use/include-what-you-use/releases/tag/0.20 |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.18_1 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.18_1 20 Jul 2022 14:21:35 |
Tobias C. Berner (tcberner) |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
0.18_1 15 Jun 2022 19:43:15 |
Muhammad Moinur Rahman (bofh) |
devel/include-what-you-use: Restrict to python3.8
Upstream supplies .imp files which are only available for python2.7 and
python3.8. So restrict it to only python3.8 only for now until upstream
updates.
Reported by: fluffy |
0.18_1 15 Jun 2022 18:38:26 |
Muhammad Moinur Rahman (bofh) |
devel/include-what-you-use: Fix pkg-plist
Reported by: thierry |
0.18 16 May 2022 06:49:43 |
Loïc Bartoletti (lbartoletti) |
devel/cmake: Update to 3.23.0
Update to 3.23.0.
Fix pkg-plist: using the default share/man location
Release Notes:
https://cmake.org/cmake/help/v3.23/release/3.23.html
PR: 262886
Exp-run by: antoine |
0.18 23 Apr 2022 15:23:30 |
Muhammad Moinur Rahman (bofh) |
devel/include-what-you-use: Update version 0.17=>0.18
- Add support for llvm14
Relnotes:
https://github.com/include-what-you-use/include-what-you-use/releases/tag/0.18 |
0.17 12 Mar 2022 10:32:16 |
Muhammad Moinur Rahman (bofh) |
devel/include-what-you-use: Update version 0.15=>0.17
- Add support llvm13
Relnotes:
https://github.com/include-what-you-use/include-what-you-use/releases/tag/0.17 |
0.15 08 Mar 2022 02:09:57 |
Muhammad Moinur Rahman (bofh) |
*/*: Take maintainership |
0.15 07 Mar 2022 19:07:39 |
Rene Ladan (rene) |
all: return koobs' ports to the pool after safekeeping his commit bit. |
0.15 22 Apr 2021 12:40:36 |
Rene Ladan (rene) |
devel/include-what-you-use: update to 0.15
PR: 255189
Approved by: koobs (maintainer)
MFH: 2021Q2 (several bugfix releases) |
0.12_1 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
0.12_1 13 Oct 2020 02:41:53 |
linimon |
Now builds on powerpc64-12.
Approved by: portmgr (tier-2 blanket) |
0.12_1 17 May 2020 21:11:13 |
linimon |
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) |
0.12_1 09 Aug 2019 09:56:32 |
linimon |
Escape hashtag character in COMMENT. |
0.12_1 07 Aug 2019 08:40:45 |
linimon |
Refactor out the constant string '80' to ease future maintenance. |
0.12_1 26 Jul 2019 20:46:57 |
gerald |
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 |
0.12 24 Apr 2019 05:38:20 |
koobs |
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 |
0.11 23 Apr 2019 05:29:45 |
koobs |
devel/include-what-you-use: Update to 0.11
PR: 234429
Submitted by: Greg V <greg unrelenting.technology> |
0.10 12 Mar 2019 01:05:27 |
linimon |
Fix build on gcc-based architectures:
cc1plus: error: unrecognized command line option "-std=c++11"
Approved by: portmgr (tier-2 blanket) |
0.10 25 Dec 2018 20:25:40 |
tcberner |
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 |
0.10 30 Oct 2018 18:34:39 |
linimon |
Now builds on powerpc64. |
0.10 13 Aug 2018 16:55:50 |
rene |
devel/include-what-you-use: return to koobs@ per his request. |
0.10 05 Aug 2018 20:45:47 |
rene |
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) |
0.8_1 29 Jan 2018 11:11:03 |
jbeich |
devel/include-what-you-use: switch to llvm50 (like r457360)
PR: 224617
Approved by: maintainer timeout (1 month)
MFH: 2018Q1 |
0.8 24 Dec 2017 14:20:07 |
rene |
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) |
0.7_1 21 May 2017 21:55:08 |
linimon |
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 |
0.7_1 16 May 2017 21:05:41 |
tcberner |
Fix shebangs.
Approved by: rakuco (mentor, implicit) |
0.7 01 Jan 2017 03:45:13 |
sunpoet |
Remove BROKEN_FreeBSD_9
Approved by: portmgr (blanket) |
0.7 27 Dec 2016 12:16:32 |
rene |
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) |
0.5_1 21 Oct 2016 08:40:09 |
amdmi3 |
- Mark broken on 9.x:
cc1plus: error: unrecognized command line option "-std=c++11"
Approved by: portmgr blanket |
0.5_1 01 Apr 2016 14:00:57 |
mat |
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat: portmgr
Sponsored by: Absolight |
0.5_1 09 Mar 2016 11:12:05 |
antoine |
Fix DEPENDS |
0.5 21 Feb 2016 15:05:22 |
koobs |
[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 |