Skip to content

Commit 4846ea0

Browse files
author
allywarner
committed
Merge branch 'SCIInstitute/master'
2 parents 92f88f7 + b66adfa commit 4846ea0

File tree

836 files changed

+48641
-13196
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

836 files changed

+48641
-13196
lines changed

.github/CONTRIBUTING.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
TODO: Contribution guide. Follow this example:
2+
3+
https://github.com/atom/atom/blob/master/CONTRIBUTING.md
4+
5+
TODO add contribution guidelines. These could include:
6+
7+
Steps for creating good issues or pull requests.
8+
Links to external documentation, mailing lists, or a code of conduct.
9+
Community and behavioral expectations.

.github/ISSUE_TEMPLATE.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
### Prerequisites
2+
3+
* [ ] Are you running the [latest version of SCIRun](https://github.com/SCIInstitute/SCIRun/releases)?
4+
[//]: # (* [ ] TODO: Did you check the [debugging guide](http://flight-manual.atom.io/hacking-atom/sections/debugging/)?)
5+
[//]: # (* [ ] TODO: Did you check the [FAQs on Discuss](https://discuss.atom.io/c/faq)?)
6+
* [ ] Are you reporting to the [correct repository](https://github.com/SCIInstitute/SCIRun)?
7+
* [ ] Did you [perform a cursory search](https://github.com/SCIInstitute/SCIRun/issues) to see if your bug or enhancement is already reported?
8+
9+
For more information on how to write a good [bug report](https://github.com/atom/atom/blob/master/CONTRIBUTING.md#how-do-i-submit-a-good-bug-report) or [enhancement request](https://github.com/atom/atom/blob/master/CONTRIBUTING.md#how-do-i-submit-a-good-enhancement-suggestion), see the `CONTRIBUTING` guide. These links point to another project, but most of the advice holds in general.
10+
11+
### Description
12+
13+
[Description of the bug or feature]
14+
15+
For Mac crash bugs, please *DO NOT* paste an entire MacOS crash report here. Edit it down to just the stack trace of the thread that crashed, along with the general system info on the top.
16+
17+
**In all bug cases, some combination of screenshots, sample network(s), and input data should be attached. You can use any cloud storage links you want for networks and data.**
18+
19+
### Steps to Reproduce
20+
21+
1. [First Step]
22+
2. [Second Step]
23+
3. [and so on...]
24+
25+
**Expected behavior:** [What you expected to happen]
26+
27+
**Actual behavior:** [What actually happened]
28+
29+
### Versions
30+
31+
You can get this information from executing `SCIRun --version` at the command line, or clicking on the version button in the bottom right corner of the GUI (which copies the version to the clipboard). Also, please include the OS and what version of the OS you're running.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
TODO
2+
3+
In the new file, add your pull request template. This could include:
4+
5+
A reference to a related issue in your repository.
6+
A description of the changes proposed in the pull request.
7+
@mentions of the person or team responsible for reviewing proposed changes.
8+

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
sudo: required
12
language:
23
- cpp
34

@@ -34,10 +35,8 @@ install:
3435
# hopefully make OS X builds a bit faster
3536
script:
3637
- cd bin
37-
- cmake -DDOWNLOAD_TOOLKITS:BOOL=OFF -DRUN_BASIC_REGRESSION_TESTS:BOOL=OFF ../Superbuild
38-
- make -j4
39-
- cmake -DDOWNLOAD_TOOLKITS:BOOL=OFF -DRUN_BASIC_REGRESSION_TESTS:BOOL=OFF ../Superbuild # factory config needs 2 cmakes ?!?
40-
- make -j4
38+
- cmake -DDOWNLOAD_TOOLKITS:BOOL=OFF -DBUILD_TESTING:BOOL=OFF ../Superbuild
39+
- make -j8
4140
# make SCIRunTestData_external
4241
# && make test
4342

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ For documentation, please see: http://sciinstitute.github.io/SCIRun/
3737
- Apple clang 5.1
3838
- Qt 4.8
3939
+ Download from http://releases.qt-project.org/qt4/source/qt-mac-opensource-4.8.4.dmg.
40+
+ The above dmg will not work if using OS X 10.11. In this case Qt 4.8 can be acquired through macports using the command 'sudo port install qt4-mac' - more on macports here: https://www.macports.org/install.php
4041
* Windows (tested on Windows 7, 8)
4142
- Visual Studio 2013
4243
- Qt 4.8

Superbuild/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@
2727
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.7 FATAL_ERROR)
2828
#CMAKE_MINIMUM_REQUIRED(VERSION 3.0 FATAL_ERROR)
2929

30-
IF(CMAKE_VERSION VERSION_EQUAL 3.1 OR CMAKE_VERSION VERSION_GREATER 3.1)
30+
IF(POLICY CMP0043)
31+
CMAKE_POLICY(SET CMP0043 OLD)
32+
ENDIF()
33+
IF(POLICY CMP0054)
3134
CMAKE_POLICY(SET CMP0054 NEW)
3235
ENDIF()
3336

Superbuild/Superbuild.cmake

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,8 @@ OPTION(BUILD_TESTING "Build with tests." ON)
7171
OPTION(BUILD_WITH_PYTHON "Build with python support." ON)
7272

7373
###########################################
74-
# Configure python
75-
OPTION(WITH_TETGEN "Build Tetgen." ON)
76-
MARK_AS_ADVANCED(WITH_TETGEN)
74+
# Configure tetgen
75+
OPTION(WITH_TETGEN "Build Tetgen." OFF)
7776

7877
###########################################
7978
# Configure Windows executable to run with

Superbuild/TetgenExternal.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
SET_PROPERTY(DIRECTORY PROPERTY "EP_BASE" ${ep_base})
2828
ExternalProject_Add(Tetgen_external
29-
URL "http://www.tetgen.org/1.5/src/tetgen1.5.0.tar.gz"
29+
URL "http://www.tetgen.org/1.5/src/tetgen1.5.1-beta1.tar.gz"
3030
PATCH_COMMAND ""
3131
INSTALL_COMMAND ""
3232
CMAKE_CACHE_ARGS

build.sh

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ printhelp() {
6363
echo -e "--verbose\t\tTurn on verbose build"
6464
# echo -e "--set-osx-version-min\tTarget a minimum Mac OS X version (currently ${OSX_TARGET_VERSION}, ${OSX_TARGET_ARCH}) [OS X only]"
6565
# echo -e "--xcode-build\t\tConfigure and build Xcode project against ALL_BUILD target [OS X only]"
66+
echo -e "--with-tetgen\t\tBuild SCIRun with Tetgen library"
6667
echo -e "--cmake=<path to cmake>\t\tUse given CMake"
6768
echo -e "--cmake-args=<cmake args>\t\tUse given CMake args"
6869
echo -e "--documentation\t\tEnable building documentation (requires LaTeX)"
@@ -169,7 +170,7 @@ find_cmake() {
169170

170171
# handle both types of OS X generators
171172
configure_scirun_osx() {
172-
local build_opts=$1
173+
local build_opts=$@
173174

174175
if [[ $setosxmin -eq 1 ]]; then
175176
build_opts="${build_opts} -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=${OSX_TARGET_VERSION} -DCMAKE_OSX_SYSROOT:PATH=${OSX_TARGET_VERSION_SDK} -DCMAKE_OSX_ARCHITECTURES:STRING=${OSX_TARGET_ARCH}"
@@ -184,7 +185,7 @@ configure_scirun_osx() {
184185

185186
# generic Unix makefile build
186187
configure_scirun_make() {
187-
local build_opts=$1
188+
local build_opts=$@
188189

189190
build_opts="${build_opts} -DCMAKE_BUILD_TYPE:STRING=${buildtype} -DCMAKE_VERBOSE_MAKEFILE:BOOL=${verbosebuild}"
190191

@@ -198,7 +199,7 @@ configure_scirun() {
198199
fi
199200
try cd $builddir
200201

201-
local COMMON_BUILD_OPTS="-DBUILD_DOCUMENTATION:BOOL=$documentation"
202+
local COMMON_BUILD_OPTS="-DWITH_TETGEN:BOOL=$tetgenbuild -DBUILD_DOCUMENTATION:BOOL=$documentation"
202203

203204
if [[ $osx -eq 1 ]]; then
204205
configure_scirun_osx $COMMON_BUILD_OPTS
@@ -268,6 +269,8 @@ verbosebuild="OFF"
268269
builddir="$DIR/bin"
269270
xcodebuild=0
270271
documentation="OFF"
272+
# currently off by default
273+
tetgenbuild="OFF"
271274

272275
echo "Parsing arguments..."
273276
while [[ $1 != "" ]]; do
@@ -308,6 +311,8 @@ while [[ $1 != "" ]]; do
308311
else
309312
echo "WARNING: Only OS X supports the --xcode-build flag."
310313
fi;;
314+
--with-tetgen)
315+
tetgenbuild="ON";;
311316
--documentation)
312317
documentation="ON";;
313318
-j*)

src/CMake/Modules/MacOSXBundleInfo.plist.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
<true/>
3333
<key>NSHumanReadableCopyright</key>
3434
<string>${MACOSX_BUNDLE_COPYRIGHT}</string>
35+
<key>NSHighResolutionCapable</key>
36+
<true/>
3537
<key>CFBundleDocumentTypes</key>
3638
<array>
3739
<dict>

0 commit comments

Comments
 (0)