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

More failed builds #96

Open
AnonymousRonin opened this issue Oct 23, 2023 · 1 comment
Open

More failed builds #96

AnonymousRonin opened this issue Oct 23, 2023 · 1 comment

Comments

@AnonymousRonin
Copy link

So much for building OpenCL. More straight out of the box errors, never could get it built, gave up. I can't understand how this entire build software is full of so many poorly written build files. Half of them don't even have the first line required in EVERY build which is the minimum version required. This one is no exception. Seriously. WTF?

CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 3.27)                                                                                                                                                                                                                     

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Error at /usr/share/cmake-3.27/Modules/WriteBasicConfigVersionFile.cmake:43 (message):
No VERSION specified for WRITE_BASIC_CONFIG_VERSION_FILE()
Call Stack (most recent call first):
/usr/share/cmake-3.27/Modules/CMakePackageConfigHelpers.cmake:239 (write_basic_config_version_file)
CMakeLists.txt:100 (write_basic_package_version_file)

CMake Error at /usr/share/cmake-3.27/Modules/CMakePackageConfigHelpers.cmake:239 (write_basic_config_version_file):
write_basic_config_version_file Function invoked with incorrect arguments
for function named: WRITE_BASIC_CONFIG_VERSION_FILE
Call Stack (most recent call first):
CMakeLists.txt:102 (write_basic_package_version_file)

CMake Error at /usr/share/cmake-3.27/Modules/CMakePackageConfigHelpers.cmake:239 (write_basic_config_version_file):
write_basic_config_version_file Function invoked with incorrect arguments
for function named: WRITE_BASIC_CONFIG_VERSION_FILE
Call Stack (most recent call first):
CMakeLists.txt:102 (write_basic_package_version_file)

CMake Error at CMakeLists.txt:105:
Parse error. Expected a command name, got unquoted argument with text
"${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/cmake/OpenCL${UTIL_LIB_NAME}/OpenCL${UTIL_LIB_NAME}ConfigVersion.cmake".

@AnonymousRonin
Copy link
Author

Nice Job on the libclc build. I just deleted that one. Keep in mind I've not altered or changed the path of any file in any of these. If sucked this bad at my job I'd be unemployed.

CMake Error at cmake/CMakeTestLLAsmCompiler.cmake:40 (message):
The LLAsm compiler "/usr/local/bin/llvm-as" is not able to compile a simple
test program.

It fails with the following output:

Change Dir: '/home/ghost/libclc/build/CMakeFiles/CMakeTmp'

Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f
Makefile cmTC_23717/fast

/usr/bin/gmake -f CMakeFiles/cmTC_23717.dir/build.make
CMakeFiles/cmTC_23717.dir/build

gmake[1]: Entering directory '/home/ghost/libclc/build/CMakeFiles/CMakeTmp'

Building LLAsm object CMakeFiles/cmTC_23717.dir/testLLAsmCompiler.bc

/usr/local/bin/clang -E -P -x cl
/home/ghost/libclc/build/CMakeFiles/CMakeTmp/testLLAsmCompiler.ll -o - |
/usr/local/bin/llvm-as -o CMakeFiles/cmTC_23717.dir/testLLAsmCompiler.bc

/usr/local/bin/llvm-as: :1:1: error: expected top-level entity

typedef unsigned char uchar;

^

gmake[1]: *** [CMakeFiles/cmTC_23717.dir/build.make:78:
CMakeFiles/cmTC_23717.dir/testLLAsmCompiler.bc] Error 1

gmake[1]: Leaving directory '/home/ghost/libclc/build/CMakeFiles/CMakeTmp'

gmake: *** [Makefile:127: cmTC_23717/fast] Error 2

                                                                                                                                                                                                                                                     CMake will not be able to correctly generate this project.                                                                                                                                                                                                 

Call Stack (most recent call first):
CMakeLists.txt:101 (enable_language)

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