Comments (6)
Seeing you are on MacOS, the right file format is a .dylib
- the functionality stays the same though :)
from enzyme.
Thank you very much. Unfortunately when I try to compile the Getting started example (described here https://enzyme.mit.edu/getting_started/UsingEnzyme/), I have a new issue:
clang test.c -fplugin=/mypath/Enzyme/ClangEnzyme-16.dylib -o a.exe
test.c:2:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
If I remove the #include <stdio.h>
line and the corresponding printf
line, the code is properly compiled.
from enzyme.
What kind of clang are you using (AppleClang, homebrew clang, self compiled clang)?
did you install the macOS command line tools or Xcode?
from enzyme.
I am using homebrew clang
/opt/homebrew/opt/llvm/bin/clang
I am sorry, but I am not very familiar with the macOS environment.
If I type: xcode-select -p
, the result is:
/Applications/Xcode.app/Contents/Developer
Thank you very much for your help.
from enzyme.
I think there might be something wrong with your Xcode install or the command line tools. Some users had success with running xcode-select --install
. It could also help to open Xcode to see if there is some kind of install dialogue popping up and follow the instructions in that case.
from enzyme.
Yes, you are right! After updating Xcode everything works fine now! Thank you again!
from enzyme.
Related Issues (20)
- Asan reports `stack-use-after-scope` HOT 3
- Does multisource work? HOT 17
- ninja: build stopped: subcommand failed. HOT 1
- Adding an advanced option flag with Enzyme CMake HOT 2
- Support LLVM 17 HOT 1
- Dose Auto Diff CUDA Kernel available now?
- Segmentation fault on Kalman example HOT 2
- Performed illegal update analysis on Kalman example HOT 11
- Correctness Issue 1 with Kalman Filter HOT 1
- Correctness Issue 2 with Kalman Filter (with DGEMM warning) HOT 1
- Error when differentiating Explicit template class HOT 5
- DiffUse Bug
- The llvm::Type::getInt8PtrTy API is removed in LLVM. HOT 1
- "caching potentially capturing/offset of allocation" crash
- Can not handle `@llvm.maximum.f32(float %38, float %39)` HOT 4
- `Cannot deduce adding type of: i32` when function is defined in seperate include file HOT 5
- Enzyme mutates enzyme_const array when optimization flag -O1 or further used
- cannot handle unknown binary operator: %5 = sub nsw i64 1597463007, %4 HOT 5
- Compilation error, "Cannot deduce type of copy" / -enzyme-print-activity HOT 4
- Support for x86_fp80 (long double) HOT 2
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 enzyme.