zpzim / SCAMP

The fastest way to compute matrix profiles on CPU and GPU!
http://www.cs.ucr.edu/~eamonn/MatrixProfile.html
MIT License
155 stars 35 forks source link

Clean up pyscamp build logic in setup.py #96

Closed zpzim closed 2 years ago

zpzim commented 2 years ago

This PR makes windows builds a bit more flexible and reliable, in preparation for putting out a conda package for pyscamp.

There are some backwards incompatible changes made:

  1. pyscamp requires cmake 3.15 or greater now (up from 3.12). Most users should have a much more recent version of cmake anyway so this shouldn't be too big an issue.
  2. Some changes were made to how to specify environment variables to set compilers/generators for SCAMP and pyscamp, overall this should be more aligned with the normal usage of cmake.