[cpl] [Tema4] Arhiva de pornire
Stefania Dinica
stefaniadinica at gmail.com
Thu Apr 21 14:41:58 EEST 2016
Buna !
Am o problema cu inregistrarea backend-ului. In masina virtuala nu exista
folder-ul llvm-3.6.2/lib.
*student at cpl-vm ~/llvm-3.6.2 $ lsbuild compile.sh install src*
Exista cele doua:
*student at cpl-vm ~/llvm-3.6.2 $ ls src/lib/Target/*
AArch64 Makefile README.txt
TargetLoweringObjectFile.cpp
ARM Mips Sparc TargetMachineC.cpp
CMakeLists.txt MSP430 SystemZ TargetMachine.cpp
CppBackend NVPTX Target.cpp TargetSubtargetInfo.cpp
Hexagon PowerPC TargetIntrinsicInfo.cpp X86
LLVMBuild.txt R600 TargetLibraryInfo.cpp XCore
*student at cpl-vm ~/llvm-3.6.2 $ ls build/lib/Target/*
AArch64 cmake_install.cmake Makefile NVPTX Sparc XCore
ARM CppBackend Mips PowerPC SystemZ
CMakeFiles Hexagon MSP430 R600 X86
Eu am copiat folder-ul Cpl (cel din lab7) in *llvm-3.6.2/src/lib/Target/ *si
am modificat fisierele indicate in Lab 7 (le-am modificat similar cu un
target existent, ex Hexagon).
Apoi am dat comenzile astea:
cd ~/packages/llvm-3.6.2/build
cmake -DLLVM_TARGETS_TO_BUILD=Cpl path_to_llvm_src
make -j2 llc
Totusi, cand dau *llc ex.ll *imi spune ca target-ul Cpl nu exista.
Ma puteti ajuta, va rog?
Multumesc,
Stefania
În data de 9 ianuarie 2016, 14:36, Alexandru Guduleasa via cpl <
cpl at cursuri.cs.pub.ro> a scris:
> Recomandarea ar fi să modifici toate fișierele menționate.
>
> Numai bine
> Alex
>
> 2016-01-09 13:13 GMT+02:00 Stefanescu Mihai <
> mihai.t.gh.stefanescu at gmail.com>:
>
>> Trebuie sa mai aducem vreo modificare fisierului include/llvm/Support/ELF.h
>> ?
>> Compileaza fara erori noul target, insa ma gandesc ca poate mai tarziu
>> poate va fi nevoie...
>>
>> 2016-01-08 18:29 GMT+02:00 Alexandru Guduleasa <
>> alexandru.guduleasa at gmail.com>:
>>
>>> Salut,
>>>
>>> Directorul Cpl trebuie copiat în locația:
>>> llvm-3.6.2/lib/Target/Cpl
>>>
>>> Informații despre înregistrarea unui target găsești în labotarul 7 [1].
>>>
>>> Spor,
>>> Alex
>>>
>>> [1] http://ocw.cs.pub.ro/courses/cpl/labs/07#structura_de_fisiere
>>>
>>>
>>>
>>> 2016-01-08 18:19 GMT+02:00 Stefanescu Mihai via cpl <
>>> cpl at cursuri.cs.pub.ro>:
>>>
>>>> Salut,
>>>>
>>>> Unde trebuie pus directorul Cpl(rezultat in urma dezarhivarii arhivei
>>>> de pornire de pe site) in relatie cu directorul llvm-3.6.2 (presupunand ca
>>>> vreau sa lucrez pe masina virtuala pusa de echipa CPL la dispozitie)?
>>>> Intreb asta pentru ca ma lovesc numai de erori CMake de genul:
>>>> " Unknown CMake command "tablegen"" sau "Unknown CMake command
>>>> "add_llvm_library"."
>>>> Trebuia oare sa mai adaug ceva in work environment-ul meu? Poate
>>>> reuseste cineva sa ma lamureasca un pic in legatura cu structura sistemului
>>>> de build pentru aceasta tema.
>>>>
>>>> Multumesc anticipat,
>>>> Mihai
>>>>
>>>>
>>>> _______________________________________________
>>>> cpl mailing list
>>>> cpl at cursuri.cs.pub.ro
>>>> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/cpl
>>>>
>>>>
>>>
>>
>
> _______________________________________________
> cpl mailing list
> cpl at cursuri.cs.pub.ro
> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/cpl
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/cpl/attachments/20160421/a75356af/attachment.html>
More information about the cpl
mailing list