-
Notifications
You must be signed in to change notification settings - Fork 213
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
Build GMT master instead of using conda-forge #261
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
2bd6da9
Test gmt-python with GMT master branch
seisman 3779968
Fix stickler-ci
seisman a04bf4b
Fix travis.yml
seisman af904da
Check GMT install
seisman f19318e
Source gmt install script
seisman 7950c56
Update the build script with the new GMT build
leouieda 988bab0
Avoid the name conflict with the Python package
leouieda d3e76f0
No line break
leouieda 82cabf6
Delegate building GMT to a helper script
leouieda 69b740a
Build on testing
leouieda 436ea2d
Get around cloning into the cached directory
leouieda 98c2185
Set the environment variables globaly
leouieda ae6029b
Don't try to set TEST
leouieda 2d85ad6
Try using the experimental branch from GMT
leouieda 3dd2719
Revert back to the master branch of GMT
leouieda be4378d
Remove GMT and twine from the dependencies
leouieda 58da665
Merge branch 'master' into test-gmt-master
leouieda 1ef43f3
Fix failure of basemap
leouieda d74dc6f
Merge branch 'test-gmt-master' of github.com:GenericMappingTools/gmt-…
leouieda f72a706
The lib dir is lib64
leouieda b977d70
Set the library path using GMT_LIBRARY_PATH
leouieda 87a6517
Update install docs
leouieda b115d20
Remove unnecessary dependencies
leouieda 0f01277
Try to not build GMT with debug or testing
leouieda File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
# Download and build the GMT master branch. Used by TravisCI. | ||
|
||
set -e | ||
|
||
mkdir -p "$INSTALLDIR" | ||
mkdir -p "$COASTLINEDIR" | ||
git clone --depth=1 --branch=master https://github.com/GenericMappingTools/gmt.git tmp | ||
mkdir -p gmt-master | ||
cp -r tmp/* gmt-master | ||
rm -rf tmp | ||
cd gmt-master | ||
bash ci/download-coastlines.sh | ||
TEST=false bash ci/build-gmt.sh | ||
|
||
set +e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not clone it to gmt-master directly? Any side-effects?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's because of the cache. I'm having Travis cache
gmt-master/build
so we don't recompile things that didn't change. But git won't checkout into an existing directory.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it.