-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
- Loading branch information
1 parent
f0e3e40
commit 72eae89
Showing
19 changed files
with
130 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
# Default values for global scope variables. | ||
# They can be overriden by passing -DVARIABLE=Value to cmake, like: | ||
# out$ cmake -DSTATIC_LINKING=False .. | ||
# out$ cmake -DSTATIC_LINKING=True .. | ||
# | ||
|
||
set(CMAKE_BUILD_TYPE "Release") | ||
set(STATIC_LINKING True CACHE BOOL "Static linking of executables") | ||
set(STATIC_LINKING False CACHE BOOL "Static linking of executables") | ||
set(ENABLE_TARGETS_NON_PYTHON True CACHE BOOL "Enable targets for non Python code") | ||
set(ENABLE_TARGETS_QA True CACHE BOOL "Enable targets for QA targets") | ||
if(CMAKE_SIZEOF_VOID_P EQUAL 8) | ||
set(ARCH64 True CACHE BOOL "We are on a 64 bits platform") | ||
elseif(CMAKE_SIZEOF_VOID_P EQUAL 4) | ||
set(ARCH32 True CACHE BOOL "We are on a 32 bits platform") | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ ply==3.10 | |
scipy>=0.19,<1.1 | ||
sympy>=1.0 | ||
pillow>=4.2.1 | ||
cmake>=3.11,<3.12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file removed
BIN
-78.5 KB
src/qasm-simulator-cpp/src/third-party/win64/dll/libgcc_s_sjlj-1.dll
Binary file not shown.
Binary file removed
BIN
-1.11 MB
src/qasm-simulator-cpp/src/third-party/win64/dll/libgfortran_64-3.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-313 KB
src/qasm-simulator-cpp/src/third-party/win64/dll/libquadmath_64-0.dll
Binary file not shown.
Binary file removed
BIN
-50.5 KB
src/qasm-simulator-cpp/src/third-party/win64/dll/libwinpthread-1.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.