Skip to content
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

CMake improvements! #468

Merged
merged 2 commits into from
May 15, 2018
Merged

CMake improvements! #468

merged 2 commits into from
May 15, 2018

Conversation

atilag
Copy link
Member

@atilag atilag commented May 14, 2018

  • Static linking is not the default anymore.
  • Platform Wheel Tag is now configurable via cmake variable.
  • Updated documentation
  • CI config file updated accordingly
  • Added support for Win64 builds on Visual Studio 2017/2015
  • Windows C++ Simulator now links with a prebuilt version of
    OpenBLAS (64 bits), so there's no need to link against
    LAPACK anymore
  • cmake added as a dependency
  • Restored --static-libgcc flag for static MacOS builds so gcc
    can create semi static executables again. Clang doesn't have
    static compilation.

Description

Motivation and Context

How Has This Been Tested?

As we don't have build tests, I have tested it manually on all the platforms we support:
Win64, Linux64, Darwin.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

* Static linking is not the default anymore.
* Platform Wheel Tag is now configurable via cmake variable.
* Updated documentation
* CI config file updated accordingly
* Added support for Win64 builds on Visual Studio 2017
* Windows C++ Simulator now links with a prebuilt version of
  OpenBLAS (64 bits), so there's no need to link against
  LAPACK anymore
* cmake added as a dependency
* Restored --static-libgcc flag for static MacOS builds so gcc
  can create *semi* static executables again. Clang doesn't have
  static compilation.
@atilag atilag requested review from diego-plan9 and delapuente May 14, 2018 15:02
@diego-plan9
Copy link
Member

diego-plan9 commented May 15, 2018

Just a note to clarify that, since static linking is not the default anymore, this PR fixes #393.

@diego-plan9
Copy link
Member

Wonderful - it's a very neat set of improvements, and also thanks for taking the time to document the flags for contributors! 🎉

@diego-plan9 diego-plan9 merged commit 72eae89 into Qiskit:master May 15, 2018
This was referenced May 16, 2018
lia-approves pushed a commit to edasgupta/qiskit-terra that referenced this pull request Jul 30, 2019
* CMake improvements:
* Static linking is not the default anymore.
* Platform Wheel Tag is now configurable via cmake variable.
* Updated documentation
* CI config file updated accordingly
* Added support for Win64 builds on Visual Studio 2017
* Windows C++ Simulator now links with a prebuilt version of
  OpenBLAS (64 bits), so there's no need to link against
  LAPACK anymore
* cmake added as a dependency
* Restored --static-libgcc flag for static MacOS builds so gcc
  can create *semi* static executables again. Clang doesn't have
  static compilation.

* Remove default WHEEL_TAG value so if not specified, the tag is
choosen by the wheel module
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.

2 participants