Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Description Simplified building DLite by updating CMake to automatically detect if DLite is build within a virtual Python environment. In that case, set the following configurations (if they are not already provided on the command line): CMAKE_INSTALL_PREFIX Python3_FIND_VIRTUALENV PYTHON_VERSION **Installation with virtualenvwrapper**: mkvirtualenv newenv mkdir build-newenv cd build-newenv cmake .. make -j4 install # deactivate/reactivate environment to get LD_LIBRARY_PATH set correctly before testing deactivate workon newenv ctest -j4 -E static-code-analysis **Installation with standard Python virtualenv**: python -m venv ~/.envs/newenv mkdir build-newenv cd build-newenv cmake .. make -j4 install # deactivate/reactivate environment to get LD_LIBRARY_PATH set correctly before testing deactivate . ~/.envs/newenv/activate ctest -j4 -E static-code-analysis ## Type of change - [ ] Bug fix & code cleanup - [x] New feature - [ ] Documentation update - [ ] Test update ## Checklist for the reviewer This checklist should be used as a help for the reviewer. - [ ] Is the change limited to one issue? - [ ] Does this PR close the issue? - [ ] Is the code easy to read and understand? - [ ] Do all new feature have an accompanying new test? - [ ] Has the documentation been updated as necessary?
- Loading branch information