Skip to content
This repository has been archived by the owner on Mar 27, 2019. It is now read-only.

Mat 287 multilibalise lapack #2

Merged
merged 11 commits into from
Nov 8, 2013
Merged

Conversation

stuartarchibald
Copy link
Contributor

This attempts to get lapack building with multiple instruction set support. It also gets the test suite to report more cleanly. MAT-289 outlines outstanding testing bug.

BB Pass: http://devmaths-lx-1:8011/builders/OG-Lapack-testing/builds/11

# install(FILES
# ${CMAKE_CURRENT_BINARY_DIR}/blas.pc
# DESTINATION ${PKG_CONFIG_DIR}
# )
Copy link
Contributor

Choose a reason for hiding this comment

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

We could delete this since we never install anything we build.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I do. This is how the -DconfigFile thing works when testing stuff that hasn't quite made it into the autoextractor thing. Going to leave it in if that's ok?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Noted this is commented, will remove. Added MAT-291 to create multilib installer.

@gmarkall
Copy link
Contributor

gmarkall commented Nov 8, 2013

This looks good, and I'd be happy to merge it. I have one question:

MultiLib and MultiBin.cmake both seem to do the same thing, except one calls add_library and the other add_executable - is this correct? If it is correct, maybe they be merged into a single module with common functionality?

@stuartarchibald
Copy link
Contributor Author

Added MultiInstructionTarget.cmake which combines the two multi* modules. Factored out CheckCPUID into a module and added a cached var so it only runs once. Fixed up other bits suggested in 4dba77a .
BB Pass http://devmaths-lx-1:8011/builders/OG-Lapack-testing/builds/12

@stuartarchibald
Copy link
Contributor Author

Thanks for patching cache correctly. If happy, I'm happy. Merge on BB pass :)

@gmarkall
Copy link
Contributor

gmarkall commented Nov 8, 2013

gmarkall added a commit that referenced this pull request Nov 8, 2013
@gmarkall gmarkall merged commit 9ad68be into nyqwk2 Nov 8, 2013
@gmarkall gmarkall deleted the MAT-287-switch-off-ffast-math branch March 27, 2014 10:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants