[Question][Hw3] Make test fails #543
Replies: 6 comments
-
Fixed But I still get |
Beta Was this translation helpful? Give feedback.
-
Do not change any file arbitrarily other than the thing you should implement. All the homework will be auto graded. If it does not run in TA's machine, you will get no points.
I strongly recommend you use the provided environment if you are not sure. |
Beta Was this translation helpful? Give feedback.
-
Maybe you should try using docker image which is provided. The environment is set by TAs, so there won't be any environment issues. |
Beta Was this translation helpful? Give feedback.
-
Where can I get the docker images or provided environment? |
Beta Was this translation helpful? Give feedback.
-
The dockerfile is in the classroom repository. |
Beta Was this translation helpful? Give feedback.
-
About the docker file and environment please see here, #1 (comment) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was trying to test my code but when I run
make test
command I getI think problem is related to clang and llvm version. In the installation page of llvm-primer, it says install llvm version 10 using homebrew, but llvm 10 is not available on homebrew. Therefore, I installed llvm 11 (so my clang version is 11 as well). I am not sure if this causes the problem or not.
I also tried to run sanitizer as given in README page. I successfully managed to run until
./example1
part, but when I run this command, I gotI am not exactly sure what those errors mean. Did anyone face the same issue or anyone knows how to solve these problems?
UPDATE
make test
failed because Makefile usesclang-10
andopt-10
and LLVM 10 is not available for Homebrew.Second issue was caused because
readlink
is for Linux, and it can be fixed by using_NSGetExecutablePath
seeI think it is impossible to run on Apple devices without Docker. By using provided docker image, problem was fixed.
Beta Was this translation helpful? Give feedback.
All reactions