Displaying 20 results from an estimated 23 matches for "llvm_install".
2011 May 29
2
[LLVMdev] Build error for llvm-2.9 on RHEL5
Hi,
I am getting the following build error while building llvm on RHEL5. Please
help me fix this:
gmake[2]: Leaving directory
`/rhel5pdi/home/asin/llvm_install/tools/llvm-config'
/rhel5pdi/home/asin/llvm_install/Release/bin/llvm-config: line 18: use:
command not found
/rhel5pdi/home/asin/llvm_install/Release/bin/llvm-config: line 19: use:
command not found
/rhel5pdi/home/asin/llvm_install/Release/bin/llvm-config: line 20: use:
command not found
/rhel5...
2011 May 30
0
[LLVMdev] Build error for llvm-2.9 on RHEL5
On Sun, May 29, 2011 at 4:37 PM, Arjun Singri <arjunsingri at gmail.com> wrote:
> Hi,
> I am getting the following build error while building llvm on RHEL5. Please
> help me fix this:
> gmake[2]: Leaving directory
> `/rhel5pdi/home/asin/llvm_install/tools/llvm-config'
> /rhel5pdi/home/asin/llvm_install/Release/bin/llvm-config: line 18: use:
> command not found
> /rhel5pdi/home/asin/llvm_install/Release/bin/llvm-config: line 19: use:
> command not found
> /rhel5pdi/home/asin/llvm_install/Release/bin/llvm-config: line 20: use:...
2011 May 30
2
[LLVMdev] Build error for llvm-2.9 on RHEL5
...> On Sun, May 29, 2011 at 4:37 PM, Arjun Singri <arjunsingri at gmail.com>
> wrote:
> > Hi,
> > I am getting the following build error while building llvm on RHEL5.
> Please
> > help me fix this:
> > gmake[2]: Leaving directory
> > `/rhel5pdi/home/asin/llvm_install/tools/llvm-config'
> > /rhel5pdi/home/asin/llvm_install/Release/bin/llvm-config: line 18: use:
> > command not found
> > /rhel5pdi/home/asin/llvm_install/Release/bin/llvm-config: line 19: use:
> > command not found
> > /rhel5pdi/home/asin/llvm_install/Release/bin/l...
2010 Sep 09
1
[LLVMdev] no llvm-gcc and llvm-g++ in the directory of bin
...//llvm.org/releases/2.6/docs/GettingStarted.html, however when I finished installing the llvm and llvm-gcc successfully, the bin dir contains no llvm-gcc and llvm-g++, but contain gcc and g++.
The following is files in the directory of bin:
――――――――――――――――――――――――――――――――――――――
root at ubuntu:~/llvm_install/bin# ls
bugpoint gcc gcov i686-pc-linux-gnu-g++
lli llvmc llvm-extract llvm-prof tblgen
c++ gccas i686-pc-linux-gnu-c++ i686-pc-linux-gnu-gcc
llvm-ar llvm-config llvm-ld llvm-ranlib
cpp gc...
2020 Apr 02
2
lli cannot execute the bc file for RISCV, Unable to find target for this triple
*llvm-project version:dd8a2013dc1804be1b7d9cffacad2e984300bd22*
*Instructons to build LLVM+clang:*
```
cmake -G Ninja
-DCMAKE_INSTALL_PREFIX=/home/llvm/workspace/llvm/llvm-project/llvm_install
-DCMAKE_BUILD_TYPE="Release"
-DDEFAULT_SYSROOT="/home/llvm/workspace/riscv/riscv-tc-20200220/bin/riscv32-unknown-elf"
-DGCC_INSTALL_PREFIX="/home/llvm/workspace/riscv/riscv-tc-20200220"
-DLLVM_DEFAULT_TARGET_TRIPLE="riscv32-unknown-elf"
-DLLVM_ENABLE_PROJECTS...
2006 Dec 10
3
[LLVMdev] Building llvm-gcc4 on amd64
...compile llvm-gcc4 from svn and llvm from
cvs on amd64 linux. In the case anyone else decides to try the same, this
could ease your pain:
1) check out llvm, llvm-gcc
2) create llvm-obj llvm-gcc-obj
export LLVM_INSTAL=<install_dir>
cd llvm-obj
export LLVM_OBJ=`pwd`
../llvm/configure --prefix=$LLVM_INSTALL --enable-debug-runtime
4) At one point, the build script calls c++, but by default, gcc
installs g++, and (at least 4.0.3 on my machine) doesn't create
c++ alias, so create one if you don't already have it:
ln -s /usr/bin/g++ /usr/bin/c++
5) cd ../llvm-gcc-obj
6)
../llvm-gcc/configure --dis...
2010 Sep 08
0
[LLVMdev] [llvm-testresults] no llvm-gcc and llvm-g++ in the directory of bin
...2.6/docs/GettingStarted.html, however when I finished installing the llvm and llvm-gcc successfully, the bin dir contains no llvm-gcc and llvm-g++, but contain gcc and g++.
>
> The following is files in the directory of bin:
> ——————————————————————————————————————
> root at ubuntu:~/llvm_install/bin# ls
> bugpoint gcc gcov i686-pc-linux-gnu-g++
> lli llvmc llvm-extract llvm-prof tblgen
> c++ gccas i686-pc-linux-gnu-c++ i686-pc-linux-gnu-gcc
> llvm-ar llvm-config llvm-ld llvm-...
2013 Jan 31
2
[LLVMdev] Getting command line options to affect subtarget features
...anks! That makes good sense. I'll fix this and also
> > bring some of the CPU handling more up-to-date (several missing
> > processors that ought to be in there).
>
> Well, I spoke too soon. I tried this and received the following
> objection:
>
> ~/src/llvm> $LLVM_INSTALL/bin/clang vectest.c -S -O3 -o vectest.s -fno-altivec
> clang: Unknown command line argument '-mattr=-altivec'. Try: 'clang -help'
> clang: Did you mean '-mxgot=-altivec'?
> ~/src/llvm>
>
> Yet I can do the following:
>
> ~/src/llvm> $LLVM_INSTA...
2020 Mar 27
3
llvm-objdump cannot recognize mul&mulh RISC-V M Instructions
I am using llvm-project compiling risc-v programs.
llvm-project version:dd8a2013dc1804be1b7d9cffacad2e984300bd22
Instructons to build LLVM+clang:
```
cmake -G Ninja
-DCMAKE_INSTALL_PREFIX=/home/llvm/workspace/llvm/llvm-project/llvm_install
-DCMAKE_BUILD_TYPE="Release"
-DDEFAULT_SYSROOT="/home/llvm/workspace/riscv/riscv-tc-20200220/bin/riscv32-unknown-elf"
-DGCC_INSTALL_PREFIX="/home/llvm/workspace/riscv/riscv-tc-20200220"
-DLLVM_DEFAULT_TARGET_TRIPLE="riscv32-unknown-elf"
-DLLVM_ENABLE_PROJECTS...
2013 Jan 31
0
[LLVMdev] Getting command line options to affect subtarget features
...9;ll fix this and also
> > > bring some of the CPU handling more up-to-date (several missing
> > > processors that ought to be in there).
> >
> > Well, I spoke too soon. I tried this and received the following
> > objection:
> >
> > ~/src/llvm> $LLVM_INSTALL/bin/clang vectest.c -S -O3 -o vectest.s -fno-altivec
> > clang: Unknown command line argument '-mattr=-altivec'. Try: 'clang -help'
> > clang: Did you mean '-mxgot=-altivec'?
> > ~/src/llvm>
> >
> > Yet I can do the following:
> >
&...
2006 Dec 20
0
[LLVMdev] Building llvm-gcc4 on amd64
...t; cvs on amd64 linux. In the case anyone else decides to try the same, this
> could ease your pain:
>
> 1) check out llvm, llvm-gcc
> 2) create llvm-obj llvm-gcc-obj
> export LLVM_INSTAL=<install_dir>
> cd llvm-obj
> export LLVM_OBJ=`pwd`
> ../llvm/configure --prefix=$LLVM_INSTALL --enable-debug-runtime
> 4) At one point, the build script calls c++, but by default, gcc
> installs g++, and (at least 4.0.3 on my machine) doesn't create
> c++ alias, so create one if you don't already have it:
> ln -s /usr/bin/g++ /usr/bin/c++
> 5) cd ../llvm-gcc-obj
>...
2013 Jan 31
0
[LLVMdev] Getting command line options to affect subtarget features
...> }
>
> Perfect, Hal, thanks! That makes good sense. I'll fix this and also
> bring some of the CPU handling more up-to-date (several missing
> processors that ought to be in there).
Well, I spoke too soon. I tried this and received the following
objection:
~/src/llvm> $LLVM_INSTALL/bin/clang vectest.c -S -O3 -o vectest.s -fno-altivec
clang: Unknown command line argument '-mattr=-altivec'. Try: 'clang -help'
clang: Did you mean '-mxgot=-altivec'?
~/src/llvm>
Yet I can do the following:
~/src/llvm> $LLVM_INSTALL/bin/llc -O3 -mattr=-altivec vect...
2015 Oct 14
2
Compiling SAFECode poolalloc in cygwin create different libraries compared to linux.
Hi John,
That worked for me. I am using llvm 3.2 only and following
http://safecode.cs.illinois.edu/docs/Install.html
So for I am able to make inside llvm/projects/poolalloc by doing such
cosmetic changes.
Now, when I tried to make inside llvm/projects/safecode, I see another
error.
kpawar at KPAWAR-LT ~/SAFECode/LLVM_SRC/llvm/projects/safecode
$ /usr/bin/clang -cc1 -triple
2013 Jan 31
2
[LLVMdev] Getting command line options to affect subtarget features
On Thu, 2013-01-31 at 09:42 -0600, Hal Finkel wrote:
> ----- Original Message -----
> > From: "Bill Schmidt" <wschmidt at linux.vnet.ibm.com>
> > To: llvmdev at cs.uiuc.edu
> > Sent: Thursday, January 31, 2013 9:26:15 AM
> > Subject: [LLVMdev] Getting command line options to affect subtarget features
> >
> > The problem I'm trying to
2006 Nov 14
0
[LLVMdev] 1.9 Prerelease Available for Testing
...VM 1.9 on OSX 10.4.8, I get (after a while, see
attachment):
make[1]: *** No rule to make target `/path/to/llvm-build/Debug/bin/
tblgen', needed by `/path/to/llvm-build/lib/VMCore/Debug/
Intrinsics.gen.tmp'. Stop.
make: *** [install] Error 1
when doing:
$LLVM_SRC/configure --prefix=$LLVM_INSTALL --with-llvmgccdir=
$LLVM_FRONT --disable-optimized --enable-targets=host-only --enable-
doxygen
LLVM 1.8 compiled fine before though.
Kind regards,
Bram Adams
GH-SEL, INTEC, Ghent University
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name:...
2009 Mar 13
2
[LLVMdev] [LLVMDev] trouble building gcc-frontend from source
...-Wold-style-definition
-isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../trunk/gcc
-I../../trunk/gcc/. -I../../trunk/gcc/../include
-I../../trunk/gcc/../libcpp/include -I../../trunk/gcc/../libdecnumber
-I../libdecnumber -I/home/gautam/code/llvm/llvm_install/include
-I/home/gautam/code/llvm/llvm/include -DL_gcov -c
../../trunk/gcc/libgcov.c -o libgcc/./_gcov.o
cc1: /home/gautam/code/llvm/llvm/include/llvm/Transforms/Utils/InlineCost.h:44:
llvm::InlineCost::InlineCost(int, int): Assertion `Cost == C && "Cost
exceeds InlineCost precision&qu...
2009 Mar 13
0
[LLVMdev] [LLVMDev] trouble building gcc-frontend from source
Hi, the versions of llvm-gcc and llvm you are using are
not synchronized. Probably one is from subversion while
the other is not.
Ciao,
Duncan.
2006 Nov 15
3
[LLVMdev] 1.9 Prerelease Available for Testing
...er a while, see attachment):
>
> make[1]: *** No rule to make target `/path/to/llvm-build/Debug/bin/tblgen',
> needed by `/path/to/llvm-build/lib/VMCore/Debug/Intrinsics.gen.tmp'. Stop.
> make: *** [install] Error 1
>
> when doing:
>
> $LLVM_SRC/configure --prefix=$LLVM_INSTALL --with-llvmgccdir=$LLVM_FRONT
> --disable-optimized --enable-targets=host-only --enable-doxygen
>
> LLVM 1.8 compiled fine before though.
I'm able to reproduce this if I skip doing a "make" and directly do a
"make install" after configuring. I believe we require...
2008 Dec 13
2
[LLVMdev] internal compiler error problem in build llvm-gcc
...ll] Error 2
=============================================================================================================================
Both of the LLVM and llvm-gcc were downloaded form svn
We do some instruction commands in READNE.LLVM
1. ../llvm/configure --prefix=/home/cllou/LLVM/llvm-2.4-dir/llvm_install/
--enable-optimized
2. make ENABLE_OPTIMIZED=1
and build the LLVM successfully.
3. ../llvm-gcc/configure
--prefix=/home/cllou/LLVM/llvm-2.4-dir/llvm_gcc_install/
--program-prefix=llvm- --enable-llvm=/home/cllou/LLVM/llvm-2.4-dir/llvm_obj/
--enable-languages=c,c++
4. make
and got the "../../llv...
2017 Aug 03
2
Dependence analysis - missing loop-carried dependencies?
...(), false);
errs() << "\n";
}
}
}
return false;
}
void getAnalysisUsage(AnalysisUsage &AU) const override {
AU.addRequired<DependenceAnalysisWrapperPass>();
}
$ clang -fno-inline -emit-llvm loop.c -c -o loop.bcr
$ opt -load ~/dev/llvm_install/lib/LLVMSimpleDG.so \
-disable-inlining -loop-simplify -simpledg \
< loop.bcr > loop.bc
%3 = load i32, i32* %i, align 4 ---> store i32 0, i32* %i, align 4
%7 = load i32, i32* %i, align 4 ---> store i32 0, i32* %i, align 4
store i32 %8, i32* %i, align 4 ---...