Skip to content

Ci build updates#1155

Merged
jagerman merged 2 commits into
pybind:masterfrom
jagerman:ci-updates
Oct 22, 2017
Merged

Ci build updates#1155
jagerman merged 2 commits into
pybind:masterfrom
jagerman:ci-updates

Conversation

@jagerman

@jagerman jagerman commented Oct 22, 2017

Copy link
Copy Markdown
Member

Some miscellaneous ci updates:

Building with the (VS2017) /permissive- flag puts the compiler into
stricter standards-compliant mode.  It shouldn't cause the compiler to
work differently--it just disallows some non-conforming code--so should
be perfectly fine for the test suite under all VS2017 builds.

This commit also fixes one failure under non-permissive mode.
- For the debian/buster docker build (GCC 7/C++17) install and use the
  system `catch` package; this also renames "COMPILER_PACKAGES" to
  "EXTRA_PACKAGES" since it now contains a non-compiler package.

- Add a status message indicating the catch version being used for
  compiling the embedded tests

- Simplify some bash code by using VAR+=" foo" to append (rather than
  VAR="${VAR} foo"

- Fix CMAKE_INCLUDE_PATH appending: it was prepending the ':' but not
  the existing $CMAKE_INCLUDE_PATH value and so would end up with
  ":/eigen-path" if CMAKE_INCLUDE_PATH was already set.  (This wasn't
  bug that was actually noticed since currently nothing else sets it).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compile failure with MSVC and /permissive- (Two-phase lookup)

1 participant