Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prune export libraries and package lists #33

Closed
wants to merge 532 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
532 commits
Select commit Hold shift + click to select a range
cded53e
First working version of TRIBITS_FIND_MOST_RECENT_FILE_TIMESTAMP()
Aug 6, 2014
07ff69d
Added TRIBITS_FIND_MOST_RECENT_SOURCE_FILE_TIMESTAMP()
Aug 6, 2014
7ccf9fb
Implemented basic version of TRIBITS_FIND_MOST_RECENT_BINARY_FILE_TIM…
Aug 6, 2014
422a22b
Fixed formating of time-stamp arg
Aug 6, 2014
f5a0a48
Working prototype of automatic dependency tracking based on time stamps
Aug 6, 2014
2b0735e
Adding some documentation for the find -printf format args
Aug 6, 2014
1baad5f
Implemented TRIBITS_DETERMINE_IF_CURRENT_PACKAGE_NEEDS_REBUILT()
Aug 7, 2014
96c9fe5
Updating to work with empty directories and not modified files
Aug 7, 2014
f001ee2
Fixing minor typo in print output.
Aug 7, 2014
c919d62
Improving print output when there are no binary files
Aug 7, 2014
c07fa85
Merge branch 'raw_modified_check_3071' of casl-dev:collaboration/Tril…
Aug 7, 2014
cbf966a
Filter out all [.]cmake$ files from binary dir
Aug 7, 2014
be49c76
Adding source filter for .git/ directories
Aug 8, 2014
8a696c2
Cleaning up file some and adding some more documentation
Aug 8, 2014
42a5098
Test TRIBITS_DETERMINE_IF_CURRENT_PACKAGE_NEEDS_REBUILT() with WrapEx…
Aug 9, 2014
a6a5c28
Adding documentation (PHI Kanban #3071)
Aug 10, 2014
1415770
Changed name of module from "Get" to "Find" to match func names (PHI …
Aug 10, 2014
ad3caa3
Fix update of most recently modifed file base dir
Aug 11, 2014
6b8b50f
Updating doc for TRIBITS_CONFIGURE_FILE() and TRIBITS_ADD_LIBRARY( DE…
Aug 12, 2014
b32240e
Adding more documentation on optional package and TPL deps, and other…
Aug 12, 2014
365862a
Changing old PACKAGE_ADD_XXX names with TRIBITS_ADD_XXX
Aug 13, 2014
f4fe2d8
Setting up infrastructure for unit testing setting ctest test properties
Aug 13, 2014
0114237
Adding support for ${PROJECT_NAME}_SCALE_TEST_TIMEOUT (PHI Kanban #3423)
Aug 14, 2014
e48287a
Moving TRIBITS_SET_TESTS_PROPERTIES() inside proper if statement (PHI…
Aug 14, 2014
a63d1f1
Adding link to <Project>_SCALE_TEST_TIMEOUT_TESTING_TIMEOUT
Aug 15, 2014
e9e164a
Adding mention of and link to ${PROJECT_NAME}_SCALE_TEST_TIMEOUT to T…
Aug 15, 2014
92aa447
replace CRLF line terminators with Unix LF
nschloe Aug 15, 2014
6ecd574
Adding timeout scaling to TRIBITS_ADD_ADVANCED_TEST() (PHI Kanban #3423)
Aug 15, 2014
0020771
Fixing formarttig of output for PARSE_ARGUMENTS_DUMP_OUTPUT_ENABLED
Aug 27, 2014
315d2b4
Adding LINKER_LANGUAGE to TRIBITS_ADD_LIBRARY() (Trilinos #6179)
Aug 27, 2014
3b15e81
Adding optional lib prefixing with ${PROJECT_NAME}_LIBRARY_NAME_PREFI…
Aug 27, 2014
505e0c8
Merge commit for LINKER_LANGAUGE (#6179) and library prefixing (#6094)
Aug 27, 2014
24a0cef
Fixing TriBITS unit test after change in 6d07ec5 broke it
Aug 27, 2014
c087e0e
Adding cache var to avoid multiple installs of Trilinos_version.h (Tr…
Aug 28, 2014
7876610
Removing LINKER_LANGUAGE arg and property set (Trilinos #6179)
Aug 29, 2014
6eb4dff
Moving back ${PROJECT_NAME}_GENERATE_EXPORT_FILE_DEPENDENCIES (Trilin…
Aug 29, 2014
6754cce
Change from TRIBITS_SETUP_INSTALLATION_OPTIONS() to TRIBITS_SETUP_INS…
Aug 29, 2014
d4b5491
Making GNUInstallDirs optional and check for CMake version (Trilinos …
Aug 29, 2014
d8c6557
Merge branch 'tribits_gnuinstalldirs_6122'
Aug 29, 2014
7207937
Merge branch 'master' of software.sandia.gov:/space/git/Trilinos
Aug 29, 2014
a7cb166
Merge remote branch 'ssg-collab/strong_warnings_as_callback'
Sep 2, 2014
f9909d1
Merge remote-tracking branch 'casl-dev/master'
Sep 3, 2014
7e6f4cc
Forgot to remove a debug print for arg_names
Sep 4, 2014
5c4038e
Merge branch 'master' into github_master
Sep 4, 2014
5aa669a
Removing some whitespace.
Sep 4, 2014
43abe6b
Renamed to README.rst for restructured text formatting and short para…
Sep 4, 2014
2b0fc39
Only export library targets that are really cmake libraries (Trilinos…
Sep 5, 2014
e1f297b
Don't assume TriBITS is in dir "tribits/" (PHI Kanban #3454)
Sep 5, 2014
be0760e
Merge remote branch 'casl-dev/master'
Sep 5, 2014
5c2aa1d
Allow for usage of the checkin-test.py script for TriBITS itself.
Sep 5, 2014
627df00
Simple checkin-test.py wrapper script for Trilinos development.
Sep 5, 2014
b09ee59
Adding a documentation index.html file
Sep 5, 2014
24a530a
Put in links to version controlled documentation
Sep 5, 2014
ffa2372
Removing generation of TriBITS overview and lifecycle PDFs for now
Sep 5, 2014
a6988b3
Adding a do-configure script for TriBIT dev under Trilinos
Sep 6, 2014
2c0d4f2
Fixing TRIBITS_ADD_ADVANCED_TEST() handling of STDERR with OUTPUT_FIL…
Sep 6, 2014
aa0d77d
Fixing usage of cmake -E compare_files instead of diff on Windows
Sep 6, 2014
086f1d3
Adding links to PDF forms of documents too
Sep 6, 2014
0534c20
Need to name this script do-configure-mpi-debug not just do-configure
Sep 7, 2014
46c5161
Converting documentation index to simple index.html file
Sep 7, 2014
ba1b448
Removing assumption of a 'tribits/' base dir (Trilinos #6218)
Sep 7, 2014
b4442fe
Allowing for abs pakage directories under project source dir (Trilino…
Sep 7, 2014
f3fe352
Print out <Project>_TRIBITS_DIR
Sep 7, 2014
ffa09bb
Adding --no-rebase --no-append-test-results
Sep 7, 2014
b072edf
Mention where to find egdist in TriBITS source tree
Sep 7, 2014
c1c174c
Fixing a few simple typos
Sep 7, 2014
4f1ccc2
Fixing mispellig of PACKAGE_ABS_DIR_UNDER_PROJECT_SOURCE_DIR (Trilino…
Sep 8, 2014
c8d7a01
Allow <Project>_TRIBITS_DIR to be provided as a relative path (Triino…
Sep 8, 2014
1c9ffa3
Adding the origin dir repo name and SHA1 to commit summary, listing t…
Sep 8, 2014
609bfc8
trailing whitespace
nschloe Sep 9, 2014
f4ef684
install target export files on a per-package basis
nschloe Sep 9, 2014
fad53d3
don't reference ${PROJECT_NAME}Targets in config file
nschloe Sep 9, 2014
5decf3b
fix relative path in project export files
nschloe Sep 9, 2014
8d0a394
add basic travis-ci file
nschloe Sep 9, 2014
9dbf810
do out-of-source build
nschloe Sep 9, 2014
20a5664
travis-ci: add fortran compiler
nschloe Sep 9, 2014
4d47443
Adding some vertical whitespace to standardized formatting
Sep 9, 2014
59e0958
Fixing nasty bug where TriBITS checkin-test.py config used instead of…
Sep 9, 2014
19f4605
move installation of export files to add_library()
nschloe Sep 9, 2014
983d4f4
Adding all checkin-test.py defaults to config file and removing check…
Sep 9, 2014
8d4d0d6
Merge remote branch 'nico-github/travis_ci'
Sep 9, 2014
ebcdd35
Merge branch 'master' into export_include_dir
nschloe Sep 9, 2014
3fa40d6
Merge pull request #7 from nschloe/export_include_dir
Sep 9, 2014
20ebc0d
Removing IMPORTEDLIBS from ${PACKAGE_NAME}_LIBRARIES
Sep 9, 2014
4f36e2c
include subpackage exports in superpackage export files
nschloe Sep 9, 2014
4e87b1d
Fixing usage of NativeRepositoriesList.cmake
Sep 10, 2014
f12c18e
Updating documentation on snapshot-dir.sh
Sep 10, 2014
02c6ff0
Merge remote branch 'github/master'
Sep 10, 2014
b80981e
Regenerated develpers guide output.
Sep 10, 2014
dbd877d
Adding date and version fields to these documents
Sep 10, 2014
a0799db
whitespace changes (avoid superfluous newline in export)
nschloe Sep 10, 2014
56a93b1
include configuration of dependent packages in export files
nschloe Sep 10, 2014
1a7830b
Merge branch 'master' into untangle_export_files
nschloe Sep 10, 2014
fba17ea
don't explicitly include subpackage configs in export files
nschloe Sep 10, 2014
e7ae2af
Tribits: Fixed spelling error ("disaled") in check-in test script.
Sep 10, 2014
411a94b
export targets only once per package, not per library
nschloe Sep 11, 2014
2a2793a
Merge remote branch 'origin/no_importedlibs_in_pkg_libs'
Sep 11, 2014
fd8c847
Updating to CMake 2.8.11 (Trilinos #6189)
Sep 12, 2014
6ba8956
Updating to CMake 2.8.11 (Trilinos #6189)
Sep 12, 2014
6857bb0
use CMake's WRITE_BASIC_PACKAGE_VERSION_FILE
nschloe Sep 12, 2014
12279da
instruct travis to install CMake from PPA
nschloe Sep 12, 2014
56940ef
travis-ci: explicitly install cmake-data
nschloe Sep 12, 2014
ef97917
add dummy ${PROJECT_NAME}_VERSION 1.0
nschloe Sep 12, 2014
2a17a0f
Changing selection of CTest based on exact path (Trilinos #6189)
Sep 12, 2014
b63bfac
Merge remote branch 'casl-dev/master'
Sep 12, 2014
a53baeb
Adding poster and slides for a short overview of TriBITS
Sep 12, 2014
cbbff5a
Removing a redundant slide
Sep 12, 2014
6ae70a6
Addressing several TRIBITS_CTEST_DRIVER() defects (PHI Kanban #3436, …
Sep 13, 2014
888a3ee
Merge remote branch 'casl-dev/master'
Sep 13, 2014
80e2f41
Fix minor typo in doc
Sep 15, 2014
23fd84f
Installing CMake 2.8.11 and using github repo
Sep 15, 2014
a5501ce
Installing CMake 2.8.11 and using github repo
Sep 15, 2014
cb72771
Adding a standard SERIAL_DEBUG build config.
Sep 16, 2014
5ac058d
This info was copied to TribitsDevelopersGuide a long time ago
Sep 16, 2014
da29bcd
Implementing new Primary Meta-Project Packages (PMPP) selection (TriB…
Sep 16, 2014
23a3243
Shortening of the primary meta-project packages variables (TriBITS #9x)
Sep 17, 2014
5d84c8c
Adding documentation for primary meta-project packages variables (Tri…
Sep 17, 2014
65b2c51
Merge remote branch 'casl-dev/master'
Sep 17, 2014
b2b5772
Updated generated files.
Sep 17, 2014
8ad456c
Merge branch 'master' into untangle_export_files
nschloe Sep 19, 2014
4f497cc
Removing print of packages enables in summary email header
Sep 20, 2014
b2c1d9a
Making --enable-all-packages=on skip package change check
Sep 20, 2014
707483a
Improving --help doc (avoiding auto change detection)
Sep 20, 2014
e419b55
This file is large and we don't need it (TriBITS #20)
Sep 21, 2014
c4c7f58
Refactoring code to create function install_cmake() (PHI Kanban #3111)
Sep 21, 2014
93de04c
Respond to TRIBITS_TDD_USE_SYSTEM_CTEST=1 (PHI Kanban #3111)
Sep 21, 2014
074ddcf
Revert "Removing print of packages enables in summary email header"
Sep 22, 2014
396e51e
Making CMake 2.8.11 requried and cleaning up (Trilinos #6189)
Sep 22, 2014
8269474
Revert "Making CMake 2.8.11 requried and cleaning up (Trilinos #6189)"
Sep 22, 2014
4ac493c
Making CMake 2.8.11 requried (Trilinos #6189)
Sep 22, 2014
326e28f
Passing through MPI_EXEC variables to inner MPI-based tests will run
Sep 22, 2014
b608100
Put in sleep 0.5s after touch
Sep 22, 2014
6dc1ee7
Merge branch 'master' of casl-dev:TriBITS
Sep 22, 2014
a7951bb
Merge remote branch 'casl-dev/master'
Sep 23, 2014
5fe25e0
Run apt-get list to see what is available to install
Sep 23, 2014
f778c35
Using Nico's install of CMake 2.8.12
Sep 23, 2014
f821272
Using download-cmake.py to install CMake 2.8.11 instead
Sep 23, 2014
622bfcf
Installing CMake into /usr/local/cmake-2.8.11
Sep 23, 2014
f45964c
Using Nico's CMake 2.8.12 install (typo fixed)
Sep 23, 2014
c82ab8f
Merge branch 'master' into cmake_version_export
nschloe Sep 23, 2014
7d584ab
Switch sleep and touch and increase sleep to 1 full sec
Sep 23, 2014
4bc5f46
Replacing egdist with gitdist (TriBITS #15)
Sep 24, 2014
263fbed
Switching from egdist to gitdist (TriBITS #15)
Sep 24, 2014
92e07fe
Merge remote branch 'casl-dev/master'
Sep 24, 2014
dfeb041
Replacing a O(n) find with a O(1) lookup (PHI Kanban #2719)
Sep 24, 2014
6931092
move include guard in the export file to the beginning of the file
nschloe Sep 24, 2014
c7a72b1
Adding a test and adding some doc for TRIBITS_SET_FULL_DEP_PACKAGES()…
Sep 24, 2014
e2107f1
Merge remote branch 'nico-github/untangle_export_files'
Sep 25, 2014
4f194f0
Minor doc update.
Sep 25, 2014
12555e5
Moving code snipit block below PACKAGE_NAME set (TriBIITS #11)
Sep 25, 2014
2166b29
Adding a few unit tests for generated <Package>Config.cmake file (Tri…
Sep 25, 2014
a29bcaf
Fixing include guards in export XXXConfig.cmake files (TriBITS #11)
Sep 25, 2014
bc58517
Generating export files (but not testing them yet) (TriBITS #11)
Sep 25, 2014
c65be90
Added a validation test for genrated <Package>Config.cmake (TriBITS #11)
Sep 25, 2014
c48897f
Merge remote branch 'nico-github/cmake_version_export'
Sep 25, 2014
7553e64
Merge remote branch 'github/master' into faster_configure_2719
Sep 25, 2014
699ffa6
Adding -VV to all inner ctest calls
Sep 25, 2014
1d0ff6c
Adding a sleep 1s for systems with 1s resolution to trigger rebuild
Sep 25, 2014
8319e84
Making all of the super important doc/example/UnitTests test BASIC
Sep 25, 2014
6f0015e
Merge remote branch 'github/master' into faster_configure_2719
Sep 25, 2014
c216af4
Cleaning up printing of enabled/disabled packages (PHI Kanban #2719)
Sep 25, 2014
8bd2cdc
Moving generation of full package dependencies until after enable/dis…
Sep 26, 2014
62913ca
Just a little reformatting (PHI Kanban #2719)
Sep 26, 2014
9ec12f4
Adding if statement to guard against non-enabled required dep package…
Sep 26, 2014
7c50d6e
Reduce the size of the list of SE packages in enable/disable logic (P…
Sep 26, 2014
5beb74c
Replace a loop over TPLs and SE Packages with a single loop (PHI Kanb…
Sep 26, 2014
b130a75
Merge if/elseif into a single if staement (PHI Kanban #2719)
Sep 26, 2014
a7c5898
Trying to exclude disabled packages earlier (PHI Kanban #2719)
Sep 26, 2014
78d82e1
Adding test for package coupling vars (PHI Kanban #2719)
Sep 26, 2014
0b12e61
Using enabled only SEP and TPL lists for sorting (PHI Kanban #2719)
Sep 27, 2014
a280195
Using enabled SE pkg list (PHI Kanban #2719)
Sep 27, 2014
6527d3a
Added "-- " to beginning of print statement.
Sep 27, 2014
36abf0e
Adding option WrapExternal_SHOW_MOST_RECENT_FILES (PHI Kanban #2719)
Sep 27, 2014
0d6e209
Improved performance and outputting (PHI Kanban #2719)
Sep 27, 2014
96cf76e
Merge remote branch 'casl-dev/master'
Sep 28, 2014
c988903
Improving printout of dependency info
Sep 28, 2014
d5ffca0
Restricting generation of export dependencies more (PHI Kanban #2719)
Sep 29, 2014
95519cb
Merge remote-tracking branch 'github/master' into faster_configure_2719
Sep 29, 2014
17e8e23
Regenerating output files.
Sep 29, 2014
8460860
Minor vertical whitespace change
Sep 29, 2014
bbf8da6
Including TribitsTplDeclareLibraries.cmake so TPLs don't have to (PHI…
Sep 29, 2014
def4406
Adding scripts to remove standard TriBITS includes (PHI Kanban #2719)
Sep 29, 2014
38764d3
Adding TribitsListHelpers to std removes (PHI Kanban #2719)
Sep 29, 2014
879efe7
Updated for current status
Sep 30, 2014
7cc86c1
Fixing printing of ${PROJECT_NAME}_DUMP_PACKAGE_DEPENDENCIES
Oct 1, 2014
478c1ad
Removing cache var for <Package>_GENERATE_EXPORT_FILES_FOR_ONLY_LISTE…
Sep 30, 2014
3b2ee27
Changing dependency structure of packages to make more intersting
Oct 1, 2014
718eab3
Add TESTONLYLIBS and IMPORTEDLIBS to TRIBITS_ADD_EXECUTBLE() (TriBITS…
Oct 2, 2014
fe4b824
Fixed up to use TESTONLYLIBS
Oct 2, 2014
6610968
Fixed spelling of deprecated (TriBITS #24)
Oct 2, 2014
18a8cdb
Improving accuracy to 0.001 sec (PHI Kanban #2719)
Oct 3, 2014
d7942df
Fixing defect in printing of <Package>_FULL_ENABLED_DEP_PACKAGES
Oct 3, 2014
51c5541
Added <Project>_ENABLE_PACKAGE_CONFIGURE_TIMING option (PHI Kanban #2…
Oct 3, 2014
4cd7c5e
Ignoring missing soft links (PHI Kanban #2719)
Oct 3, 2014
df04876
Also replacing in CMakeLists.tribits for hydrath
Oct 3, 2014
9d5dd04
Merge remote branch 'casl-dev/master'
Oct 3, 2014
cd151a2
Regenerated docs.
Oct 3, 2014
4c2f15a
Merge remote branch 'collab/faster_configure_2719'
Oct 3, 2014
1ee0188
Change final test regex to not break outer test regex
Oct 3, 2014
b6d370c
Removing -VV from ctest because it disabled the test!
Oct 3, 2014
be31be9
Improving documenation for IMPORTEDLIBS (TriBITS #24)
Oct 3, 2014
c3870f9
Turning on Fortran for builds and testing
Oct 3, 2014
ab50b38
Adding (TESTONLYLIBS, IMPORTEDLIBS), deprecating DEPLIBS to TAEAT() (…
Oct 3, 2014
29f009f
Enabling ST code with Fortran on to enable testonly lib and test in S…
Oct 3, 2014
b8083ca
Moving TESTONLY lib to it own subdir (TriBITS #24)
Oct 3, 2014
788a617
Added new ST test and updated PT test to be correct for new dep struc…
Oct 3, 2014
94d7a60
Moving libs for SpkgB to make better test (TriBITS #24)
Oct 3, 2014
5366a9a
Adding strong checks and tests for invalid lib usage (TriBITS #28)
Oct 4, 2014
046f5c1
Adding more checking of lib arguments (TriBITS #28)
Oct 4, 2014
4f866a1
Moving TriBITS testing code into ShowLibErrors.cmake file (TriBITS #28)
Oct 4, 2014
c97f8b2
Finished adding tests for invalid usage of libs with TAL() nad TAE() …
Oct 4, 2014
c2c1dad
Moving test code out of the way (TriBITS #28)
Oct 4, 2014
13c5c6d
Adding ability for a TESTONLY libs to link to other TESTONLY lib (Tri…
Oct 4, 2014
35d7011
Added test for DEPLIBS m, fix test for more tests, cleanup (TriBITS #28)
Oct 4, 2014
0c40f9b
Added test for libs prefix and got working (TriBITS #28)
Oct 4, 2014
26f2077
Cleaning up if() blocks and show error vars (TriBITS #28)
Oct 4, 2014
bbeba21
Got working with prefixed libraries (TriBITS #28)
Oct 4, 2014
2a0c020
Adding test name for grep of OVERALL FINAL RESULT for TRIBITS_ADD_ADV…
Oct 4, 2014
4fc6c89
Geting to work with serial and MPI (TriBITS #28)
Oct 4, 2014
9392249
Removing ASSERT_DEFINED()
Oct 4, 2014
14a40a7
Removing duplicates from parent package INCLUDE_DIRS and LIBRARY_DIRS
Oct 4, 2014
f22ebfa
Added c_util executable, make SpkgB required for SpkgC, fixed tests (…
Oct 4, 2014
2ff86e4
Minor formatting update.
Oct 5, 2014
4291589
Improving warning message for DEPLIBS (TriBITS #28)
Oct 5, 2014
a834fcf
Updated docs for lib arguments (TriBITS #28)
Oct 5, 2014
810275a
Merge remote branch 'github/master'
Oct 5, 2014
47b10eb
Fixing ConfigTiming test as deps changed in github branch (TriBITS #28)
Oct 5, 2014
a955807
Adding back -VV to inner tests
Oct 5, 2014
e475583
Fixing some typos in the lib warning and error messages (TriBITS #28)
Oct 5, 2014
07fe96f
Merge remote branch 'github/master'
Oct 5, 2014
edcd8e5
Add release flags to fortran name mangling check (TriBITS #23)
Oct 5, 2014
2f7c0b1
Passing in flags for CMAKE_BUILD_TYPE (TriBITS #23)
Oct 5, 2014
b5036bf
added option ADDED_LIB_TARGET_NAME_OUT to TRIBITS_ADD_LIBRARY
nschloe Oct 6, 2014
21910be
Return added target/test names from TRIBITS_ADD_XXX() wrapper functions
nschloe Oct 6, 2014
a12526f
be a little more economic with vertical space
nschloe Oct 6, 2014
799c6ee
remove trailing whitespace in all *.cmake files
nschloe Oct 6, 2014
bda695e
Was never used.
Oct 6, 2014
7bbcc8d
Shortenling names of packages and dirs to MixedLang and WithSubpackag…
Oct 6, 2014
bfa3094
Shortenling names to MixedLang and WithSubpackages
Oct 6, 2014
08a9c8f
Merge remote-tracking branch 'nico-github/return_lib_name'
Oct 6, 2014
3ea1cd3
Fixed a few minor typos.
Oct 6, 2014
c51b77e
Added documentation and a test for ADDED_LIB_TARGET_NAME_OUT (TriBITS…
Oct 6, 2014
e908f96
Updated generated files.
Oct 6, 2014
e9036ff
Adding if guards to LIST(REMOVE_DUPLICATES ...) for INCLUDE_DIRS and …
Oct 6, 2014
f873532
start cleaning up the export files
nschloe Oct 7, 2014
1caa926
export files: INCLUDE() dependencies in FOREACH loop
nschloe Oct 7, 2014
03550d1
export files: remove redundant definition of CMAKE_CURRENT_LIST_DIR
nschloe Oct 7, 2014
d4dc059
don't use ALL dependencies in PACKAGE_LIST
nschloe Oct 7, 2014
6d34f5d
typo in variable name
nschloe Oct 7, 2014
38d5c40
fix for Makefile exports, adapt cmake export tests
nschloe Oct 7, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
language: c++
before_install:
# http://about.travis-ci.org/docs/user/build-configuration/#Installing-Packages-Using-apt
- sudo add-apt-repository -y ppa:nschloe/trilinos-nightly
- sudo apt-get update -qq
- sudo apt-get install cmake-data cmake
- sudo apt-get install gfortran
install:
- mkdir build
- cd build/
- cmake -DCMAKE_BUILD_TYPE:STRING=DEBUG -DTriBITSProj_ENABLE_Fortran:BOOL=ON ../
- make
script:
- ctest
63 changes: 63 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
################################################################################
# #
# TriBITS #
# #
################################################################################


IF (NOT TriBITS_PROCESSED_BASE_PROJECT AND NOT PACKAGE_NAME STREQUAL "TriBITS")

# This CMakeLists.txt file is being processed as the TriBITSProj projects's
# base CMakeLists.txt file! (See comments at bottom of this file.)

INCLUDE("${CMAKE_CURRENT_SOURCE_DIR}/ProjectName.cmake")
SET(${PROJECT_NAME}_VERSION 1.0)
PROJECT(${PROJECT_NAME} NONE)

SET(${PROJECT_NAME}_TRIBITS_DIR "${CMAKE_CURRENT_SOURCE_DIR}" CACHE PATH "")
INCLUDE("${${PROJECT_NAME}_TRIBITS_DIR}/TriBITS.cmake")

CMAKE_MINIMUM_REQUIRED(VERSION ${TRIBITS_CMAKE_MINIMUM_REQUIRED})

# TriBITS is the only package so just enable it and test it!
SET(${PROJECT_NAME}_ENABLE_TriBITS ON)
SET(${PROJECT_NAME}_ENABLE_TESTS ON CACHE BOOL "Enable test by default.")

SET(TriBITS_PROCESSED_BASE_PROJECT ON)

TRIBITS_PROJECT()

ELSE()

# This CMakeLists.txt file is being processed as the TriBITS package file.

TRIBITS_PACKAGE(TriBITS)

TRIBITS_ADD_TEST_DIRECTORIES(
python
package_arch
)

ASSERT_DEFINED(CMAKE_GENERATOR)
IF (CMAKE_GENERATOR STREQUAL "Unix Makefiles")
TRIBITS_ADD_TEST_DIRECTORIES(
ctest/UnitTests
doc/examples/UnitTests
)
ENDIF()

TRIBITS_PACKAGE_POSTPROCESS()

ENDIF()

# NOTE: In order to allow the `tribits` directory to be both a TriBITS package
# (for inclusion in other TriBITS projects) and to be a TriBITS project
# itself, you only have to put in a simple if statement in this top-level
# CMakeLists.txt file and need to use a different package binary directory in
# PackagesList.cmake. That is all! In fact, this `tribits` directory shows
# how the same directory can be used for a TriBITS package, a TriBITS
# repository, and a TriBITS project! However, you can't name the project the
# same as the package, otherwise, TriBITS woiuld try to try to create two
# targets with the name, such as ${PROJECT_NAME}_libs. Therefore a different
# name and different binary directory must be used for the TriBITS package.
# But that is all.
2 changes: 1 addition & 1 deletion Copyright.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# @HEADER
# ************************************************************************
#
# TriBITS: Tribial Build, Integrate, and Test System
# TriBITS: Tribal Build, Integrate, and Test System
# Copyright 2013 Sandia Corporation
#
# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
Expand Down
6 changes: 6 additions & 0 deletions PackagesList.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
TRIBITS_REPOSITORY_DEFINE_PACKAGES(
TriBITS . PT
)

# Must create subdir for binary dir for the TriBITS package
SET(TriBITS_SPECIFIED_BINARY_DIR tribits)
1 change: 1 addition & 0 deletions ProjectName.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SET(PROJECT_NAME TriBITSProj)
22 changes: 22 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
=================================================
TriBITS: Tribal Build, Integrate, and Test System
=================================================

The Tribal Build, Integrate, and Test System (TriBITS) is a framework designed
to handle large software development projects involving multiple independent
development teams and multiple source repositories which is built on top of
the open-source CMake set of tools. TriBITS also defines a complete software
development, testing, and deployment system supporting processes consistent

Documentation
=============

* See `Version Controlled TriBITS Documentation Index on Github
<http://htmlpreview.github.io/?https://raw.githubusercontent.com/TriBITSPub/TriBITS/master/doc/index.html>`_
(works on github or takes you to github)

* See `Version Controlled TriBITS Documentation Index locally
<doc/index.html>`_ (local directory only, link does not work on github)

.. ToDo: Provide a very short quickstart here to help people get going right
.. away!
27 changes: 27 additions & 0 deletions ReleaseNotes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,33 @@
Release Notes for TriBITS
----------------------------------------

2014/09/22:

(*) Changed minimum version of CMake from 2.7 to 2.8.11.

2014/09/21:

(*) Added support for the env var TRIBITS_TDD_USE_SYSTEM_CTEST so that if
equal to 1, then the TriBITS Dashboard Driver (TDD) system will use the CTest
(and CMake) in the env will be used instead of being downloaded using
download-cmake.py. This not only speeds up the auotmated builds, but it also
ensures that the automated testing uses exactly the install of CMake/CTest
that is used by the developers on the system. Also, it has been found that
download-cmake.py will download and install a 32bit version even on 64bit
machines.

Trilinos 11.7:
--------------

(*) Switched from the terms Primary Stable (PS) and Secondary Stable (SS) code
to Primary Tested (PT) and Secondary Tested (ST) according to the plan in the
TriBITS Lifecycle model. Using 'PS' and 'SS' is still allowed but is
deprecated. This also included deprecating the varible
<Project>_ENABLE_SECONDARY_STABLE_CODE and replacing it with
<Project>_ENABLE_SECONDARY_TEST_CODE. Again, backward compatibility is
preserved. Also, the checkin-test.py arg --ss-extra-builds is deprecated and
replaced with --st-extra-builds.


Trilinos 11.6:
--------------
Expand Down
3 changes: 3 additions & 0 deletions TPLsList.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TRIBITS_REPOSITORY_DEFINE_TPLS(
MPI "${${PROJECT_NAME}_TRIBITS_DIR}/tpls/" PT
)
21 changes: 21 additions & 0 deletions TriBITS.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#
# Top-level include file that pulls in TriBITS so it can be used by a project.
# A Project's top-level CMakeLists.cmake file just does:
#
# INCLUDE(${${PROJECT_NAME}_TRIBITS_DIR}/TriBITS.cmake)
#
# and then they can call:
#
# TRIBITS_PROJECT()
#

IF (${PROJECT_NAME}_TRIBITS_DIR)
SET(TRIBITS_BASE_DIR_LOCAL "${${PROJECT_NAME}_TRIBITS_DIR}")
ELSEIF(CMAKE_CURRENT_LIST_DIR)
SET(TRIBITS_BASE_DIR_LOCAL "${CMAKE_CURRENT_LIST_DIR}")
ELSE()
MESSAGE(FATAL_ERROR "Please set ${PROJECT_NAME}_TRIBITS_DIR"
" or use a CMake version older than 2.8.5!")
ENDIF()

INCLUDE("${TRIBITS_BASE_DIR_LOCAL}/package_arch/TribitsProject.cmake")
Loading