-
Notifications
You must be signed in to change notification settings - Fork 862
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
ninja-build is not listed as a build dependency? #956
Comments
I wonder if that might be down to some specific local configuration. I'm on Ubuntu 16.04, don't have ninja installed (I've just barely even heard of it), and all is well. As Devuan is also a Debian fork, it seems it wouldn't be needed there either.
Is there any chance you might have pointed something to it explicitly? Some versions of cmake can optionally use it, if you throw the right sorts of switches. |
Is the question just about the manual instructions (in the readme), which use ninja? And, if so, to match, it just needs mention in the manual instructions? Or, is this really about what's happening internally in cmake? |
Ninja is optional. If you drop I always build with ninja, but I would be tempted to drop it from the build instructions. People familiar with CMake on Linux know it's an option anyway, and there's no point in confusing people who are new to this stuff. Though, that would still leave a few unmentioned dependencies: make (on Linux) and a C++ compiler. It might be nice to mention what version of C++ is being targeted. That seems to be C++11. |
Fixed Windows build instructions: - ./update_glslang_sources.py is not a valid command on Windows. Just call python explicitly. - -DCMAKE_INSTALL_PREFIX=`pwd`/install creates a directory named `pwd` Replaced with %CD%. - The section mentioning cygwin is unclear and doesn't seem necessary to build. Simplified: - Remove SSH clone instructions. Instructions on how to clone are for those unfamiliar with GitHub, so fewer options are better and SSH requires additional configuration to make work. - Replace ninja with make, because more people are familiar with it and we probably don't need to explain how to install it. Fixes KhronosGroup#956. Update: - Mention minimum language version in the Dependencies section. Though perhaps we should elaborate on exactly which compilers are supported? Issue KhronosGroup#42 discusses what compilers to support, but that information doesn't seem to be communicated anywhere.
Fixed Windows build instructions: - ./update_glslang_sources.py is not a valid command on Windows. Just call python explicitly. - -DCMAKE_INSTALL_PREFIX=`pwd`/install creates a directory named `pwd` Replaced with %CD%. Simplified: - Remove SSH clone instructions. Instructions on how to clone are for those unfamiliar with GitHub, so fewer options are better and SSH requires additional configuration to make work. - Replace ninja with make, because more people are familiar with it and we probably don't need to explain how to install it. Fixes KhronosGroup#956. - The section mentioning cygwin is unclear and doesn't seem necessary to build. Expanded: - Mention minimum language version in the Dependencies section. Though perhaps we should elaborate on exactly which compilers are supported? Issue KhronosGroup#42 discusses what compilers to support, but that information doesn't seem to be communicated anywhere.
- Mention that the instructions are written for Bash. - Quote the CMAKE_INSTALL_PREFIX to handle spaces in $(pwd). - Remove SSH clone instructions. Instructions on how to clone are for those unfamiliar with GitHub, so fewer options are better and SSH requires additional configuration to make work. - Replace ninja with make, because more people are familiar with it and we probably don't need to explain how to install it. Fixes KhronosGroup#956. - Remove the section mentioning cygwin, as it's unclear and doesn't seem necessary. - Mention minimum language version in the Dependencies section. - Move `cd $BUILD_DIR` out of the Linux configuration section because it's needed on both platforms. Add a line about creating the build directory, too.
Why isn't ninja listed as a build dependency? If one was following the described build process and doesn't have the ninja-build package installed (GNU/LINUX) the build process will complain about ninja is missing.
Linux devuan 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u1 (2017-06-18) x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: