mantidproject / conda-recipes

Conda recipes for mantidproject packages
https://anaconda.org/mantid/mantid
4 stars 3 forks source link

Add new conda recipes #58

Closed StephenSmith25 closed 2 years ago

StephenSmith25 commented 2 years ago

Adding my conda recipes - These will live alongside the others for the time being.

Check each one builds

cd recipes
conda build ./mantid-framework
conda build ./mantid-qt
conda build ./mantid-workbench

Should work on all operating systems.

thomashampson commented 2 years ago

conda build ./mantid-framework on Windows doesn't work, with this error:

-- Found Python: C:/Users/dsc49661/.conda/envs/test_env/conda-bld/mantid-framework_1636727430474/_h_env/python.exe (found suitable version "3.8.12", minimum required is "3.6") found components: Interpreter Development NumPy Development.Module Development.Embed
-- Using system Eigen
CMake Error at buildconfig/CMake/Eigen.cmake:30 (find_package):
  By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Eigen3", but
  CMake did not find one.

  Could not find a package configuration file provided by "Eigen3" (requested
  version 3.2) with any of the following names:

    Eigen3Config.cmake
    eigen3-config.cmake

  Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
  "Eigen3_DIR" to a directory containing one of the above files.  If "Eigen3"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  CMakeLists.txt:126 (include)
StephenSmith25 commented 2 years ago

Hmm, I just tried it on Windows and it works for me 😕