Comments (3)
Hi Rishabh,
Thank you for opening the issue.
The following build instructions should work:
sudo -H pip install lit
git clone https://github.com/llvm/llvm-project.git
cd llvm-project
git checkout release/12.x
cd ../
mkdir obj inst
cd obj
cmake ../llvm-project/llvm -DCMAKE_BUILD_TYPE=Debug -DLLVM_TARGETS_TO_BUILD=host -DLLVM_ENABLE_PROJECTS=clang -DCMAKE_INSTALL_PREFIX=../inst
make install
The instructions were missing a cd
command.
from clad.
Thanks for the reply @parth-07 I was able to build llvm by keeping obj and inst inside the llvm-project and by changing ../llvm-project/llvm to ../llvm but your solution seems to be a better; should I submit a PR making the changes you suggested ? .
from clad.
Yes, sure.
Thank you for being proactive.
from clad.
Related Issues (20)
- Change lambda function differentiation to produce valid source code and work with lambda functions with captures (fwd mode)
- Change lambda function differentiation to produce valid source code and work with lambda functions with captures (reverse mode)
- Clarifications about peruse of local variables. HOT 2
- Providing a custom `constructor_reverse_forw` only for one signature results into other signatures crashing
- Clad fails to use proper pullbacks for functions with reference arguments
- Clad generates noncompilable code for STL containers (and constructors in general) in the reverse mode
- Clad breaks when using some `std::vector` constructors in the reverse mode HOT 3
- Incorrect `std::vector` differentiation in the reverse mode HOT 1
- Crash when differentiating some `std::vector` code in the reverse mode
- Use the `std::vector<>` namespace when declaring a size_type var for STL containers HOT 7
- Handle more type cases in `ConstantFolder::synthesizeLiteral`
- Use `VisitorBase::getZeroInit()` or `ConstantFolder::synthesizeLiteral()` for assignments and initializations of variables
- For loops produce noncompilable code in the reverse mode
- Clad generates noncompilable code for operators in the reverse mode
- Add support for `std::vector::size()`
- Clad crashes when trying to initialise a class type declaration in the reverse mode HOT 1
- Incorrect gradient for some cases of `std::array` used in loops
- Invalid code generated in the gradient when using operators HOT 1
- Add support for Varied Analysis in the forward mode
- Update the derivative function's signature
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clad.