llvm-examples icon indicating copy to clipboard operation
llvm-examples copied to clipboard

I am so interesting in your project,please tell me how to build your project on windows!

Open harrisonGPU opened this issue 3 years ago • 7 comments

I have built LLVM on my computer,the commands is :cmake -G "Visual Studio 16 2019" ../llvm in my llvm-project/build,and then :cmake --build . --target install,and then I git clone your project,and than I create build folder, and then run cmake commands

harrisonGPU avatar Oct 12 '22 12:10 harrisonGPU

@TSWorld1314 Did you have a look at the document BUILD.md ?

michelou avatar Oct 12 '22 14:10 michelou

@TSWorld1314 Did you have a look at the document BUILD.md ?

Thanks reply!I am going to look at!!!

harrisonGPU avatar Oct 13 '22 01:10 harrisonGPU

@TSWorld1314 Did you have a look at the document BUILD.md ?

I copy the build.bat in my llvm.src,and run command:PS D:\llvm-project-14.0.6.src> .\build -verbose compile,it will be error: Error: Internal error (vcvarsall.bat not found) ,

harrisonGPU avatar Oct 13 '22 02:10 harrisonGPU

@TSWorld1314 Did you have a look at the document BUILD.md ?

like this commands: PS D:\llvm-project\llvm> .\build help error: options '/r' cannot be empty. input "WHERE /?" for usage Error: Internal error (vcvarsall.bat not found) At this time there should be no (

harrisonGPU avatar Oct 13 '22 03:10 harrisonGPU

Please tell me how do to it,I reall want to learn this project!

harrisonGPU avatar Oct 13 '22 03:10 harrisonGPU

At this point I suggest you to follow the 2 steps below to make progress with your local LLVM build.

  • You create a local copy (using git clone) of my llvm-examples repository.
  • You read VERY carefully (and in order) the 2 pages README.md and BUILD.md to get the same environment as mine before trying to generate a local LLVM build (I started with LLVM 8.0 a long time ago and I now use LLVM 14.0.6). NB. The batch file build.bat I wrote to generate the LLVM build needs both the tools and the environment variables to be corrected installed resp. defined.

michelou avatar Oct 13 '22 14:10 michelou

At this point I suggest you to follow the 2 steps below to make progress with your local LLVM build.

  • You create a local copy (using git clone) of my llvm-examples repository.
  • You read VERY carefully (and in order) the 2 pages README.md and BUILD.md to get the same environment as mine before trying to generate a local LLVM build (I started with LLVM 8.0 a long time ago and I now use LLVM 14.0.6). NB. The batch file build.bat I wrote to generate the LLVM build needs both the tools and the environment variables to be corrected installed resp. defined.

Thanks a lot.I try to do it!I really appreciate!

harrisonGPU avatar Oct 14 '22 01:10 harrisonGPU