Skip to content

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