Hi, Zhao> I have checked out llvm 2.9. There is only one CMakeLists file inRelease or svn? I believe Nick has committed those CMake files into svn. You can apply my patch to LVM 2.9 Release.> "\llvm-2.9". and no CMakeLists file in folder either > "\llvm-2.9\runtime\libprofile" or "\llvm-2.9\runtime". Where did you get it?As Nick said, libprofile miss CMake files. Add them by yourself. :) Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667
On 27 April 2011 10:08, 陳韋任 <chenwj at iis.sinica.edu.tw> wrote:>> "\llvm-2.9". and no CMakeLists file in folder either >> "\llvm-2.9\runtime\libprofile" or "\llvm-2.9\runtime". Where did you get it? > > As Nick said, libprofile miss CMake files. Add them by yourself. :)Try Nick's r130191!
Hi Chen Applied your patch to cmakelists files in LLVM 2.9 release and build llvm using Visual Studio 2008 successfully, but there is still no profile_rt.so. I do have profile_rt of visual studio solution file and project file in folder \llvm-2.9build\runtime\libprofile. I also tried version2.9 form SVN and it has all necessary cmakelists files now, but I still have same problem (no profile_rt.so). Did I miss any step? Where is your profile_rt.so located? Many thanks again. Yafan On Wed, Apr 27, 2011 at 2:08 AM, 陳韋任 <chenwj at iis.sinica.edu.tw> wrote:> Hi, Zhao > > > I have checked out llvm 2.9. There is only one CMakeLists file in > > Release or svn? I believe Nick has committed those CMake files into > svn. You can apply my patch to LVM 2.9 Release. > > > "\llvm-2.9". and no CMakeLists file in folder either > > "\llvm-2.9\runtime\libprofile" or "\llvm-2.9\runtime". Where did you get > it? > > As Nick said, libprofile miss CMake files. Add them by yourself. :) > > Regards, > chenwj > > -- > Wei-Ren Chen (陳韋任) > Computer Systems Lab, Institute of Information Science, > Academia Sinica, Taiwan (R.O.C.) > Tel:886-2-2788-3799 #1667 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110428/33196938/attachment.html>
yafan zhao <yafan.zhao at gmail.com> writes:> Hi Chen > > Applied your patch to cmakelists files in LLVM 2.9 release and build llvm > using Visual Studio 2008 successfully, but there is still no profile_rt.so. > I do have profile_rt of visual studio solution file and project file in > folder \llvm-2.9build\runtime\libprofile. > > I also tried version2.9 form SVN and it has all necessary cmakelists > files now, but I still have same problem (no profile_rt.so). > > Did I miss any step? Where is your profile_rt.so located?There are no *.so libraries on Windows. They are *.dll & *.lib. There is no support for building LLVM loadable modules with Visual Studio, as cmake says when you generate the project files. So don't expect profile_rt.so (nor profile_rt.dll) with your setup.
Maybe Matching Threads
- [LLVMdev] Problem with compiling the runtime libary
- [LLVMdev] Problem with compiling the runtime libary
- [LLVMdev] Problem with compiling the runtime libary
- [LLVMdev] Problem with compiling the runtime libary
- [LLVMdev] Problem with compiling the runtime libary