Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable building LRez with cmake #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

milot-mirdita
Copy link

CMake gets a bit of a bad rep, but it makes building a project like this extremely easy on any platform.

You can now do

mkdir build && cd build 
cmake -DCMAKE_INSTALL_PREFIX=prefix .. 
make

and it will work basically anywhere.

Hope this helps with the conda issue.

@milot-mirdita
Copy link
Author

milot-mirdita commented Apr 20, 2021

The corresponding conda build.sh file should look like this:

#!/bin/bash
git submodule update --init
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX="${PREFIX}" ..
make -j${CPU_COUNT} ${VERBOSE_CM}
make install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant