build: Add Conda environment setup and dependency installation script#2023
Conversation
|
Maybe put this script in the src/build-scripts directory? |
| cmake \ | ||
| llvmdev=20.1.8 clangdev clangxx_linux-64 libcxx \ | ||
| python=3.12 numpy pybind11 \ | ||
| openimageio=2.5 imath flex bison pugixml zlib |
There was a problem hiding this comment.
That's pretty old. Can we use at least OpenImageIO 3.0 by default?
There was a problem hiding this comment.
Looks like conda-forge has up to v2.5.18.0 sadly :/
https://anaconda.org/conda-forge/openimageio
Maybe mamba could be an alternative?
https://openmamba.org/en/rpms/base/python-OpenImageIO/aarch64/
There was a problem hiding this comment.
What we could do is, download from the OpenImageIO repo binaries and install them directly
There was a problem hiding this comment.
The OpenImageIO repo does not currently provide pre-built binaries.
However, this OSL repo already has a src/build-scripts/build_openimageio.bash that can build OIIO from scratch.
|
I think this could be pretty useful for people. Can you add some documentation to "INSTALL.md" explaining how to use it? |
|
I think that to wrap up this PR, we're primarily waiting for some modification to INSTALL.md instructions to explain briefly how and when to use it. |
7e4f692 to
1be91fc
Compare
lgritz
left a comment
There was a problem hiding this comment.
LGTM! Thanks for the contribution, and I hope it helps somebody more easily set up their build environment.
Signed-off-by: Alexandru Biscoveanu <alex.biscoveanu.gfx@gmail.com>
1be91fc to
ed746df
Compare
66c4dcb
into
AcademySoftwareFoundation:main
…AcademySoftwareFoundation#2023) Update INSTALL.md and add configure_conda_env.bash script Signed-off-by: Alexandru Biscoveanu <alex.biscoveanu.gfx@gmail.com>
Description
This script sets up the development environment by:
Enables contributors to quickly replicate a working environment.
Tests
Checklist:
already run clang-format v17 before submitting, I definitely will look at
the CI test that runs clang-format and fix anything that it highlights as
being nonconforming.