0

I am trying to compile llvm source code where i could see intermittent build issues with failing sings listed below on windows host:-

 1)   MT: command "C:\PROGRA~2\WI3CF2~1\10\bin\100220~1.0\x64\mt.exe /nologo /manifest bin\llvm-tblgen.exe.manifest /outputresource:bin\llvm-tblgen.exe;#1" failed (exit code 0x1f) with the following output:
                 mt.exe : general error c101008d: Failed to write the updated manifest to the resource of file "bin\llvm-tblgen.exe". The process cannot access the file because it is being used by another process.

 2) LINK : fatal error LNK1104: cannot open file 'bin\llvm-special-case-list-fuzzer.exe'

I have gone through this and added my build folder in exclusion list of anti virus scan. But still hit the issues intermittently.

Configure command:-

cmake -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/data/worker/llvm-dev-nvptx-ubuntu/install -DLLVM_ENABLE_PROJECTS=llvm -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_LIT_ARGS=-vv '-DLLVM_TARGETS_TO_BUILD=X86;NVPTX' -DLLVM_OPTIMIZED_TABLEGEN=ON -DLLVM_USE_LINKER=gold -DBUILD_SHARED_LIBS=ON -Wno-dev 

build command:-

cmake --build . --target install -- -j 32 

Could you please help on this. I couldn't find any clue from the build logs.

vam
  • 11
  • 3

0 Answers0