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

How to build glad as library #1

Open
bioinfornatics opened this issue Apr 10, 2023 · 0 comments
Open

How to build glad as library #1

bioinfornatics opened this issue Apr 10, 2023 · 0 comments

Comments

@bioinfornatics
Copy link

Dear,
in order to avoid the use of git from arrayfire/forge, I would like to build glad as library. But to my understanding it miss something

GLAD_DEPS='clang ninja-build cmake'
CC="/usr/bin/clang"
CXX="/usr/bin/clang++"
export CC
export CXX
dnf install -y ${GLAD_DEPS}
mkdir glad/build
pushd glad/build
  cmake -DCMAKE_INSTALL_PREFIX=/opt/arrayfire -GNinja ..
  # build
  ninja
  # install
  ninja install
popd

but ninja command do nothing

# ninja              
ninja: no work to do.
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

No branches or pull requests

1 participant