• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..07-May-2022-

CMakeLists.txtH A D03-May-20223.1 KiB9278

READMEH A D07-Dec-20211.2 KiB2721

aix-C-XL-13.1.3.inputH A D07-Dec-20212.6 KiB4139

aix-C-XLClang-16.1.0.1.inputH A D07-Dec-20212.6 KiB4139

aix-CXX-XL-13.1.3.inputH A D07-Dec-20213.2 KiB4543

aix-CXX-XLClang-16.1.0.1.inputH A D07-Dec-20213.3 KiB4543

craype-C-Cray-8.7.inputH A D07-Dec-20215.9 KiB5447

craype-C-Cray-9.0-hlist-ad.inputH A D07-Dec-20217.3 KiB5547

craype-C-GNU-7.3.0.inputH A D07-Dec-202114.4 KiB8076

craype-C-Intel-18.0.2.20180210.inputH A D07-Dec-20219.8 KiB4139

craype-CXX-Cray-8.7.inputH A D07-Dec-20216.3 KiB5447

craype-CXX-Cray-9.0-hlist-ad.inputH A D07-Dec-20218 KiB5547

craype-CXX-GNU-7.3.0.inputH A D07-Dec-202114.9 KiB8379

craype-CXX-Intel-18.0.2.20180210.inputH A D07-Dec-202110.2 KiB4442

craype-Fortran-Cray-8.7.inputH A D07-Dec-20216.5 KiB5346

craype-Fortran-Cray-9.0-hlist-ad.inputH A D07-Dec-20218.3 KiB5446

craype-Fortran-GNU-7.3.0.inputH A D07-Dec-202117.1 KiB8480

craype-Fortran-Intel-18.0.2.20180210.inputH A D07-Dec-202119.9 KiB8179

darwin-C-AppleClang-8.0.0.8000042.inputH A D07-Dec-20213.9 KiB5149

darwin-CXX-AppleClang-8.0.0.8000042.inputH A D07-Dec-20214.1 KiB5351

darwin_nostdinc-C-AppleClang-8.0.0.8000042.inputH A D07-Dec-20213.6 KiB4543

darwin_nostdinc-CXX-AppleClang-8.0.0.8000042.inputH A D07-Dec-20213.7 KiB4543

freebsd-C-Clang-3.3.0.inputH A D07-Dec-20212.6 KiB3937

freebsd-CXX-Clang-3.3.0.inputH A D07-Dec-20213 KiB4644

freebsd-Fortran-GNU-4.6.4.inputH A D07-Dec-20217.4 KiB7977

hand-C-empty.inputH A D07-Dec-2021412 1513

hand-C-relative.inputH A D07-Dec-2021615 2420

hand-CXX-empty.inputH A D07-Dec-2021436 1513

hand-CXX-relative.inputH A D07-Dec-2021639 2420

linux-C-GNU-10.2.1-static-libgcc.inputH A D07-Dec-20218.3 KiB7571

linux-C-GNU-7.3.0.inputH A D07-Dec-20217.6 KiB7369

linux-C-Intel-18.0.0.20170811.inputH A D07-Dec-202110.9 KiB4442

linux-C-NVHPC-21.1.0.inputH A D07-Dec-20214.8 KiB4337

linux-C-PGI-18.10.1.inputH A D07-Dec-20213.5 KiB3732

linux-C-XL-12.1.0.inputH A D07-Dec-20214.2 KiB4341

linux-C-XL-16.1.0.0.inputH A D07-Dec-20213.6 KiB4139

linux-CUDA-NVIDIA-10.1.168-CLANG.inputH A D07-Dec-202121.8 KiB243241

linux-CUDA-NVIDIA-10.1.168-XLClang-v.inputH A D07-Dec-20218.3 KiB5250

linux-CUDA-NVIDIA-9.2.148-GCC.inputH A D07-Dec-202113.8 KiB126124

linux-CXX-GNU-10.2.1-static-libstdc++.inputH A D07-Dec-20218.6 KiB8076

linux-CXX-GNU-7.3.0.inputH A D07-Dec-20217.9 KiB7773

linux-CXX-Intel-18.0.0.20170811.inputH A D07-Dec-202111.2 KiB4745

linux-CXX-NVHPC-21.1.0.inputH A D07-Dec-20215.1 KiB4337

linux-CXX-PGI-18.10.1.inputH A D07-Dec-20213.9 KiB4135

linux-CXX-XL-12.1.0.inputH A D07-Dec-20214.9 KiB4341

linux-CXX-XL-16.1.0.0.inputH A D07-Dec-20214 KiB4139

linux-Fortran-GNU-10.2.1-static-libgfortran.inputH A D07-Dec-20219.3 KiB8076

linux-Fortran-GNU-7.3.0.inputH A D07-Dec-20218.4 KiB7773

linux-Fortran-PGI-18.10.1.inputH A D07-Dec-20214.9 KiB4841

linux-Fortran-XL-14.1.0.inputH A D07-Dec-20215.3 KiB5149

linux-custom_clang-C-Clang-13.0.0.inputH A D07-Dec-20214.6 KiB5755

linux-custom_clang-CXX-Clang-13.0.0.inputH A D07-Dec-20214.9 KiB5957

linux_nostdinc-C-PGI-18.10.1.inputH A D07-Dec-20213.3 KiB3732

linux_nostdinc-C-XL-12.1.0.inputH A D07-Dec-20214.2 KiB4341

linux_nostdinc-CXX-PGI-18.10.1.inputH A D07-Dec-20213.9 KiB4135

linux_nostdinc-CXX-XL-12.1.0.inputH A D07-Dec-20214.9 KiB4341

linux_nostdinc-Fortran-PGI-18.10.1.inputH A D07-Dec-20214.7 KiB4841

linux_nostdinc_i-C-XL-12.1.0.inputH A D07-Dec-20214.2 KiB4341

linux_nostdinc_i-CXX-XL-12.1.0.inputH A D07-Dec-20215 KiB4341

linux_pgf77-Fortran-PGI-18.10.1.inputH A D07-Dec-20213.4 KiB3631

mingw.org-C-GNU-4.9.3.inputH A D07-Dec-20217.4 KiB7169

mingw.org-CXX-GNU-4.9.3.inputH A D07-Dec-20218.1 KiB7775

netbsd-C-GNU-4.8.5.inputH A D07-Dec-20215.1 KiB6159

netbsd-CXX-GNU-4.8.5.inputH A D07-Dec-20215.3 KiB6361

netbsd_nostdinc-C-GNU-4.8.5.inputH A D07-Dec-20215.1 KiB5957

netbsd_nostdinc-CXX-GNU-4.8.5.inputH A D07-Dec-20215.3 KiB5957

openbsd-C-Clang-5.0.1.inputH A D07-Dec-20212.7 KiB3836

openbsd-CXX-Clang-5.0.1.inputH A D07-Dec-20212.9 KiB3937

sunos-C-SunPro-5.13.0.inputH A D07-Dec-20213.3 KiB3634

sunos-CXX-SunPro-5.13.0.inputH A D07-Dec-20214 KiB3937

sunos-Fortran-SunPro-8.8.0.inputH A D07-Dec-20214.3 KiB4139

README

1This directory contains sample input files for the implicit include
2directories, and link info parsers for testing.  For each configuration
3 there is one ".input" file and matching ".output" files in
4ParseImplicitIncludeInfo/results and ParseImplicitLinkInfo/results.
5
6To generate ".input" files for a system, create a temporary build
7directory and chdir to it.  Then run cmake pointing to this directory.
8The CMakeLists.txt file here will generate ".input" files in your
9build directory.  The default set of languages is C and CXX.  This
10can be changed with -DLANGUAGES=language_list.  For example:
11-DLANGUAGES=Fortran will generate Fortran parser input.
12
13The ".output" files should be generated by hand from the input files.
14The test will compare the parser output to the manually generated
15".output" file.  The two should match.
16
17For compilers that support "-nostdinc"-like flags, you can generate
18a test for this with a command like:
19cmake -DUNAME=netbsd_nostdinc \
20  -DCMAKE_C_FLAGS=-nostdinc -DCMAKE_CXX_FLAGS=-nostdinc .
21
22Here is an example for testing the XL compiler with both -I and nostdinc:
23
24env CC=xlc CXX=xlC cmake -DUNAME=linux_nostdinc_i \
25  -DCMAKE_C_FLAGS='-qnostdinc -I/tmp/ii/test_c' \
26  -DCMAKE_CXX_FLAGS='-qnostdinc -I/tmp/ii/test_c -I/tmp/ii/test_cxx' .
27