Re: [cfe-users] Looking for specific revision

2020-03-07 Thread Mahmood Naderan via cfe-users
I finally was able to catch that revision from svn.
Seems that there was some network problem on my side or the other side.

Regards,
Mahmood




On Sat, Mar 7, 2020 at 9:35 AM Mahmood Naderan  wrote:

> Jan,
> But if I open http://llvm.org/svn/llvm-project/llvm/branches/release_39/
> in browser, the folders structure is shown.
> So, that is a valid link. Isn't that enough?
>
> Regards,
> Mahmood
>
>
>
>
> On Fri, Mar 6, 2020 at 10:43 PM Jan Korous  wrote:
>
>> Hi Mahmood,
>>
>> The llvm project moved to git monorepo since version 3.9.
>>
>> You can get it here:
>>
>> > git clone https://github.com/llvm/llvm-project.git
>>
>> And this seems like the commit/revision you are looking for:
>>
>> > git log --grep "301135"
>> commit b7b081262aefc72156f8ef885f30b73132726736
>> Author: Xin Tong 
>> Date:   Sun Apr 23 17:36:25 2017 +
>>
>> Correct grammar. NFC
>>
>> llvm-svn: 301135
>>
>> HTH
>>
>> Jan
>>
>> On Mar 6, 2020, at 4:00 AM, Mahmood Naderan via cfe-users <
>> cfe-users@lists.llvm.org> wrote:
>>
>> Hi
>> The following command
>>
>> svn co http://llvm.org/svn/llvm-project/llvm/branches/release_39/
>> /home/mahmood/source/llvm-3.9 -q -r 301135
>>
>> returns
>>
>> svn: E175002: REPORT of '/svn/llvm-project/!svn/vcc/default': Could not
>> read response body: connection was closed by server (http://llvm.org)
>>
>> I want to know is that a problem with network connection or sort of
>> "revision not found" error. Any guess?
>>
>> Regards,
>> Mahmood
>>
>>
>> ___
>> cfe-users mailing list
>> cfe-users@lists.llvm.org
>> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
>>
>>
>>
___
cfe-users mailing list
cfe-users@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users


[cfe-users] Problem building llvm from source

2020-03-07 Thread Mahmood Naderan via cfe-users
Hi,
I want to use a specific revision number and for the cmake command below

cmake ~/codestitcher/source/llvm-3.9 -DCMAKE_BUILD_TYPE=Release
-DLLVM_TARGETS_TO_BUILD=host -DLLVM_ENABLE_CXX1Y=ON -DLLVM_BUILD_TESTS=OFF
-DLLVM_BINUTILS_INCDIR=~/codestitcher/source/binutils-2.30/include
-DLLVM_BUILD_TOOLS=OFF -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++


I get this error for make command

[ 43%] Building CXX object
lib/Analysis/CMakeFiles/LLVMAnalysis.dir/CFGPrinter.cpp.o
[ 43%] Linking CXX static library ../../libLLVMScalarOpts.a
[ 43%] Built target LLVMScalarOpts
[ 43%] Generating LLVMLTORevision.h
-- Found Subversion: /bin/svn (found version "1.7.14")
CMake Error at
~/tools/cmake-3.15.4/share/cmake-3.15/Modules/FindSubversion.cmake:124
(message):
  Command "/bin/svn info
  ~/codestitcher/source/llvm-3.9" failed with output:

  svn: E155036: Please see the 'svn upgrade' command

  svn: E155036: Working copy
  '~/codestitcher/source/llvm-3.9' is too old (format
  10, created by Subversion 1.6)

Call Stack (most recent call first):
  ~/codestitcher/source/llvm-3.9/cmake/modules/VersionFromVCS.cmake:19
(subversion_wc_info)

~/codestitcher/source/llvm-3.9/cmake/modules/GenerateVersionFromCVS.cmake:27
(add_version_info_from_vcs)

~/codestitcher/source/llvm-3.9/cmake/modules/GenerateVersionFromCVS.cmake:33
(append_info)


make[2]: *** [lib/LTO/LLVMLTORevision.h] Error 1
make[2]: *** Deleting file `lib/LTO/LLVMLTORevision.h'
make[1]: *** [lib/LTO/CMakeFiles/LLVMLTO.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs
[ 43%] Building CXX object
lib/Analysis/CMakeFiles/LLVMAnalysis.dir/CFLAndersAliasAnalysis.cpp.o
[ 43%] Building CXX object
lib/Analysis/CMakeFiles/LLVMAnalysis.dir/CFLSteensAliasAnalysis.cpp.o
[ 43%] Building CXX object
lib/Analysis/CMakeFiles/LLVMAnalysis.dir/CGSCCPassManager.cpp.o
[ 43%] Building CXX object
lib/Analysis/CMakeFiles/LLVMAnalysis.dir/CallGraph.cpp.o
[ 43%] Building CXX object
lib/Analysis/CMakeFiles/LLVMAnalysis.dir/CallGraphSCCPass.cpp.o


Is there any workaround for that?

Regards,
Mahmood
___
cfe-users mailing list
cfe-users@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users


Re: [cfe-users] Problem building llvm from source

2020-03-07 Thread David Blaikie via cfe-users
What make command did you run?

On Sat, Mar 7, 2020 at 8:09 AM Mahmood Naderan via cfe-users <
cfe-users@lists.llvm.org> wrote:

> Hi,
> I want to use a specific revision number and for the cmake command below
>
> cmake ~/codestitcher/source/llvm-3.9 -DCMAKE_BUILD_TYPE=Release
> -DLLVM_TARGETS_TO_BUILD=host -DLLVM_ENABLE_CXX1Y=ON -DLLVM_BUILD_TESTS=OFF
> -DLLVM_BINUTILS_INCDIR=~/codestitcher/source/binutils-2.30/include
> -DLLVM_BUILD_TOOLS=OFF -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++
>
>
> I get this error for make command
>
> [ 43%] Building CXX object
> lib/Analysis/CMakeFiles/LLVMAnalysis.dir/CFGPrinter.cpp.o
> [ 43%] Linking CXX static library ../../libLLVMScalarOpts.a
> [ 43%] Built target LLVMScalarOpts
> [ 43%] Generating LLVMLTORevision.h
> -- Found Subversion: /bin/svn (found version "1.7.14")
> CMake Error at
> ~/tools/cmake-3.15.4/share/cmake-3.15/Modules/FindSubversion.cmake:124
> (message):
>   Command "/bin/svn info
>   ~/codestitcher/source/llvm-3.9" failed with output:
>
>   svn: E155036: Please see the 'svn upgrade' command
>
>   svn: E155036: Working copy
>   '~/codestitcher/source/llvm-3.9' is too old (format
>   10, created by Subversion 1.6)
>
> Call Stack (most recent call first):
>   ~/codestitcher/source/llvm-3.9/cmake/modules/VersionFromVCS.cmake:19
> (subversion_wc_info)
>
> ~/codestitcher/source/llvm-3.9/cmake/modules/GenerateVersionFromCVS.cmake:27
> (add_version_info_from_vcs)
>
> ~/codestitcher/source/llvm-3.9/cmake/modules/GenerateVersionFromCVS.cmake:33
> (append_info)
>
>
> make[2]: *** [lib/LTO/LLVMLTORevision.h] Error 1
> make[2]: *** Deleting file `lib/LTO/LLVMLTORevision.h'
> make[1]: *** [lib/LTO/CMakeFiles/LLVMLTO.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs
> [ 43%] Building CXX object
> lib/Analysis/CMakeFiles/LLVMAnalysis.dir/CFLAndersAliasAnalysis.cpp.o
> [ 43%] Building CXX object
> lib/Analysis/CMakeFiles/LLVMAnalysis.dir/CFLSteensAliasAnalysis.cpp.o
> [ 43%] Building CXX object
> lib/Analysis/CMakeFiles/LLVMAnalysis.dir/CGSCCPassManager.cpp.o
> [ 43%] Building CXX object
> lib/Analysis/CMakeFiles/LLVMAnalysis.dir/CallGraph.cpp.o
> [ 43%] Building CXX object
> lib/Analysis/CMakeFiles/LLVMAnalysis.dir/CallGraphSCCPass.cpp.o
>
>
> Is there any workaround for that?
>
> Regards,
> Mahmood
>
>
> ___
> cfe-users mailing list
> cfe-users@lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
>
___
cfe-users mailing list
cfe-users@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users


Re: [cfe-users] Problem building llvm from source

2020-03-07 Thread Mahmood Naderan via cfe-users
 >What make command did you run?

make -j2

Regards,
Mahmood
___
cfe-users mailing list
cfe-users@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users


Re: [cfe-users] Problem building llvm from source

2020-03-07 Thread Mahmood Naderan via cfe-users
I am looking for a way to stop LLVM of SVN from version checking.
I haven't found that. I hope there is a way to that.
Even using -DLLVM_APPEND_VC_REV=OFF doesn't fix the problem.


Regards,
Mahmood




On Sat, Mar 7, 2020 at 11:13 PM Mahmood Naderan 
wrote:

> >What make command did you run?
>
> make -j2
>
> Regards,
> Mahmood
>
>
>
>
>
___
cfe-users mailing list
cfe-users@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users