Commit f873b50a authored by Alejandro Homs Puron's avatar Alejandro Homs Puron
Browse files

Conda build fixes:

* Start CMake build only after a successful configure stage
* Remove numpy from the explicit dependency list,
  it is inherited from lima-core/processlib
* Add explicit dependency on lima-core > 1.9.2 (h5bshuf)
parent c17967c8
Pipeline #21710 passed with stages
in 5 minutes and 30 seconds
#!/bin/bash #!/bin/bash
cmake -Bbuild -H. -DLIMA_ENABLE_PYTHON=1 -DCAMERA_ENABLE_TESTS=1 -DCMAKE_INSTALL_PREFIX=$PREFIX -DPYTHON_SITE_PACKAGES_DIR=$SP_DIR -DCMAKE_FIND_ROOT_PATH=$PREFIX cmake -Bbuild -H. -DLIMA_ENABLE_PYTHON=1 -DCAMERA_ENABLE_TESTS=1 -DCMAKE_INSTALL_PREFIX=$PREFIX -DPYTHON_SITE_PACKAGES_DIR=$SP_DIR -DCMAKE_FIND_ROOT_PATH=$PREFIX \
cmake --build build --target install && cmake --build build --target install
...@@ -18,9 +18,8 @@ build: ...@@ -18,9 +18,8 @@ build:
requirements: requirements:
host: host:
- python {{ python }} - python {{ python }}
- numpy
- sip 4.19.8 # For compatibility with pyqt 5.9.2 - sip 4.19.8 # For compatibility with pyqt 5.9.2
- lima-core - lima-core >1.9.2
- libcurl - libcurl
- lz4 - lz4
- zeromq - zeromq
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment