diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b1babc33..f5e206ef6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required (VERSION 3.9) -project (Qrack VERSION 9.9.17 DESCRIPTION "High Performance Quantum Bit Simulation" LANGUAGES CXX) +project (Qrack VERSION 9.9.19 DESCRIPTION "High Performance Quantum Bit Simulation" LANGUAGES CXX) # Installation commands include (GNUInstallDirs) diff --git a/cmake/OpenCL.cmake b/cmake/OpenCL.cmake index c217a492c..e001fcf26 100644 --- a/cmake/OpenCL.cmake +++ b/cmake/OpenCL.cmake @@ -29,6 +29,10 @@ if (NOT OpenCL_FOUND) endif() endif () +if (PACK_DEBIAN AND CMAKE_SYSTEM_PROCESSOR MATCHES "^ppc") + set (ENABLE_OPENCL OFF) +endif (PACK_DEBIAN AND CMAKE_SYSTEM_PROCESSOR MATCHES "^ppc") + message ("OpenCL Support is: ${ENABLE_OPENCL}") if (ENABLE_OPENCL) @@ -105,7 +109,7 @@ if (ENABLE_OPENCL) src/qunitmulti.cpp ) - if (APPLE OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "^ppc") + if (APPLE OR CMAKE_SYSTEM_PROCESSOR MATCHES "^ppc") include(FetchContent) FetchContent_Declare (OpenCL-Headers GIT_REPOSITORY https://github.com/KhronosGroup/OpenCL-Headers @@ -121,6 +125,6 @@ if (ENABLE_OPENCL) ) FetchContent_MakeAvailable(OpenCL-Headers OpenCL-ICD-Loader OpenCL-CLHPP) target_include_directories (qrack PUBLIC ${CMAKE_BIN_DIR}/_deps/opencl-headers-src/ ${CMAKE_BIN_DIR}/_deps/opencl-clhpp-src/include/) - endif (APPLE OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "^ppc") + endif (APPLE OR CMAKE_SYSTEM_PROCESSOR MATCHES "^ppc") endif (ENABLE_OPENCL) diff --git a/debian/changelog b/debian/changelog index 129d693da..e3aab886b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +libqrack (9.9.19) noble; urgency=medium + + * Various optimizations; PowerPC fix (Noble 1/4) + + -- Daniel Strano Tue, 27 Aug 2024 19:53:20 -0400 + libqrack (9.9.16) bionic; urgency=medium * QUnitStateVector and QEngineOCL debugging (Bionic 4/4)