Skip to content

Commit

Permalink
package/ci: rotten apples, brown magic, and f'ed up Friday evening.
Browse files Browse the repository at this point in the history
FFS.
  • Loading branch information
mosra committed May 29, 2020
1 parent e298ee9 commit 8582e52
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions package/ci/travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,21 @@ matrix:
- JOBID=stable

install:
# Brown magic. If I don't do this, the cursed thing fails compiling
# magnum-plugins with the following:
#
# /usr/local/include/Magnum/Math/Vector.h:49:17: error: expected unqualified-id
# return std::isnan(UnderlyingTypeOf<T>(value));
# ^
# /Applications/Xcode-11.5.GM.Seed.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/math.h:165:5: note: expanded from macro 'isnan'
# ( sizeof(x) == sizeof(float) ? __inline_isnanf((float)(x)) \
# ^
#
# (Mostly useless) source: https://github.com/PointCloudLibrary/pcl/issues/2601
# Impossible to reproduce with a non-homebrew build. Does not happen with
# magnum itself, only plugins, only PngImporter/PngImageConverter. APPLE!!
- sudo xcode-select -s /Library/Developer/CommandLineTools

# Check on what version we are now
- brew update
- brew --version
Expand Down

0 comments on commit 8582e52

Please sign in to comment.