Skip to Content.
Sympa Menu

svadev - Re: [svadev] CMake build failure

svadev AT lists.siebelschool.illinois.edu

Subject: Svadev mailing list

List archive

Re: [svadev] CMake build failure


Chronological Thread 
  • From: John Criswell <criswell AT illinois.edu>
  • To: Ryuta Suzuki <ryuuta AT gmail.com>
  • Cc: svadev AT cs.uiuc.edu
  • Subject: Re: [svadev] CMake build failure
  • Date: Mon, 19 Sep 2011 13:28:10 -0500
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/svadev>
  • List-id: <svadev.cs.uiuc.edu>
  • Organization: University of Illinois

Dear Ryuta,

I've applied your patch and made several other changes.  Poolalloc now compiles with cmake.

That said, SAFECode has no CMake build files at all (see bug 10915).  Would you be willing to make CMakeLists.txt files for SAFECode?

-- John T.

On 9/16/11 11:02 PM, Ryuta Suzuki wrote:
Hi,

I've got the following CMake errors during my first attempt to build SAFECode

CMake Error at cmake/modules/LLVMProcessSources.cmake:86 (message):
  Found unknown source file
  /home/ryuta/devel/llvm/src/llvm/projects/poolalloc/lib/DSA/AllocatorIdentification.cpp


  Please update
  /home/ryuta/devel/llvm/src/llvm/projects/poolalloc/lib/DSA/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:42 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:5 (llvm_process_sources)
  projects/poolalloc/lib/DSA/CMakeLists.txt:1 (add_llvm_library)


CMake Error at cmake/modules/LLVMProcessSources.cmake:86 (message):
  Found unknown source file
  /home/ryuta/devel/llvm/src/llvm/projects/poolalloc/lib/AssistDS/GEPExprArgs.cpp


  Please update
  /home/ryuta/devel/llvm/src/llvm/projects/poolalloc/lib/AssistDS/CMakeLists.txt


Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:42 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:5 (llvm_process_sources)
  projects/poolalloc/lib/AssistDS/CMakeLists.txt:1 (add_llvm_library)


CMake Error at cmake/modules/LLVMProcessSources.cmake:86 (message):
  Found unknown source file
  /home/ryuta/devel/llvm/src/llvm/projects/poolalloc/runtime/FreeListAllocator/PoolAllocator.cpp


  Please update
  /home/ryuta/devel/llvm/src/llvm/projects/poolalloc/runtime/FreeListAllocator/CMakeLists.txt


Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:42 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:5 (llvm_process_sources)
  projects/poolalloc/runtime/FreeListAllocator/CMakeLists.txt:2 (add_llvm_library)


CMake Error at cmake/modules/LLVMProcessSources.cmake:86 (message):
  Found unknown source file
  /home/ryuta/devel/llvm/src/llvm/projects/poolalloc/runtime/FreeListAllocator/PageManager.cpp


  Please update
  /home/ryuta/devel/llvm/src/llvm/projects/poolalloc/runtime/FreeListAllocator/CMakeLists.txt


Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:42 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:5 (llvm_process_sources)
  projects/poolalloc/runtime/FreeListAllocator/CMakeLists.txt:2 (add_llvm_library)


CMake Error at cmake/modules/LLVMProcessSources.cmake:86 (message):
  Found unknown source file
  /home/ryuta/devel/llvm/src/llvm/projects/poolalloc/runtime/FL2Allocator/PoolAllocator.cpp


  Please update
  /home/ryuta/devel/llvm/src/llvm/projects/poolalloc/runtime/FL2Allocator/CMakeLists.txt


Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:42 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:5 (llvm_process_sources)
  projects/poolalloc/runtime/FL2Allocator/CMakeLists.txt:4 (add_llvm_library)


CMake Error at cmake/modules/LLVMProcessSources.cmake:86 (message):
  Found unknown source file
  /home/ryuta/devel/llvm/src/llvm/projects/poolalloc/tools/Pa/pa.cpp

  Please update
  /home/ryuta/devel/llvm/src/llvm/projects/poolalloc/tools/Pa/CMakeLists.txt

Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:42 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:79 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:100 (add_llvm_executable)
  projects/poolalloc/tools/Pa/CMakeLists.txt:4 (add_llvm_tool)


CMake Error at cmake/modules/LLVMProcessSources.cmake:86 (message):
  Found unknown source file
  /home/ryuta/devel/llvm/src/llvm/projects/poolalloc/tools/TypeChecker/tc.cpp


  Please update
  /home/ryuta/devel/llvm/src/llvm/projects/poolalloc/tools/TypeChecker/CMakeLists.txt


Call Stack (most recent call first):
  cmake/modules/LLVMProcessSources.cmake:42 (llvm_check_source_file_list)
  cmake/modules/AddLLVM.cmake:79 (llvm_process_sources)
  cmake/modules/AddLLVM.cmake:100 (add_llvm_executable)
  projects/poolalloc/tools/TypeChecker/CMakeLists.txt:4 (add_llvm_tool)


Obviously, it's trivial to fix them by updating the relevant CMakeLists.txt.

Thanks,

Ryuta


_______________________________________________
svadev mailing list
svadev AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/svadev




Archive powered by MHonArc 2.6.16.

Top of Page