beignet-1.3.2-find-python35.patch 480 B

12345678910111213141516171819
  1. Description: Find Python 3.5
  2. Workaround for
  3. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802826
  4. https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1515419
  5. Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
  6. --- a/CMakeLists.txt
  7. +++ b/CMakeLists.txt
  8. @@ -222,6 +222,7 @@ ELSE(OCLIcd_FOUND)
  9. ENDIF(OCLIcd_FOUND)
  10. ENDIF(OCLICD_COMPAT)
  11. +set(Python_ADDITIONAL_VERSIONS 3.5)
  12. Find_Package(PythonInterp)
  13. OPTION(EXPERIMENTAL_DOUBLE "Enable experimental double support" OFF)