Skip to content

Balay/petsc remove boost dependency#8508

Merged
adamjstewart merged 5 commits intodevelopfrom
balay/petsc-remove-boost-dependency
Jun 24, 2018
Merged

Balay/petsc remove boost dependency#8508
adamjstewart merged 5 commits intodevelopfrom
balay/petsc-remove-boost-dependency

Conversation

@balay
Copy link
Copy Markdown
Contributor

@balay balay commented Jun 19, 2018

ref: #8296

balay added 2 commits June 18, 2018 23:53
… on trilinos

Also set COPTFLAGS='' etc - this way CFLAGS is the primary way optimization flags are set by spack
@balay balay added the xSDK label Jun 19, 2018
@balay
Copy link
Copy Markdown
Contributor Author

balay commented Jun 19, 2018

==================================== ERRORS ====================================
________ ERROR at teardown of test_build_systems[url_and_build_system5] ________

request = <SubRequest 'check_for_leftover_stage_files' for <Function 'test_build_systems[url_and_build_system5]'>>
mock_stage = '/tmp/pytest-of-travis/pytest-0/mock_stage0'
_ignore_stage_files = set(['.lock', 'spack-stage-m58e8djl'])

I do not understand this error. @davydden, could you take a look at it?

@davydden
Copy link
Copy Markdown
Member

Hm, don’t understand that either. Seems unrelated

@balay
Copy link
Copy Markdown
Contributor Author

balay commented Jun 21, 2018

@davydden I pushed one more change. Could you review that aswell? Thanks!

Copy link
Copy Markdown
Member

@davydden davydden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@balay
Copy link
Copy Markdown
Contributor Author

balay commented Jun 22, 2018

Is this ready for a merge?

cc: @adamjstewart @tgamblin

depends_on('metis@5:~int64', when='@3.8:+metis~int64')
depends_on('metis@5:+int64', when='@3.8:+metis+int64')
# trilinos might require boost
depends_on('boost', when='@3.7.0:+trilinos+boost')
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If that's the case, shouldn't trilinos depend on boost, not petsc?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm - ok - many these lines are not needed.

The important thing here is the next set of changes

         if 'trilinos' in spec:
             options.append('--with-cxx-dialect=C++11')
-            options.append('--with-boost=1')
+            if spec.satisfies('^trilinos+boost'):
+                options.append('--with-boost=1')

Will update PR

@balay
Copy link
Copy Markdown
Contributor Author

balay commented Jun 24, 2018

@adamjstewart is this PR also ready for merge?

@adamjstewart adamjstewart merged commit df45b6f into develop Jun 24, 2018
@adamjstewart adamjstewart deleted the balay/petsc-remove-boost-dependency branch June 24, 2018 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants