support make check
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 19
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
as a smoke test. I got the following error when following the readme instructions:
n5648014:CompilerGPT liao6$ ./compgpt.bin --config=configfile.json tests/matmul-1/simplematrix.cc
Settings: {
"invokeai":"/Users/liao6/workspace/CompilerGPT/./scripts/gpt4/exec-openai.sh gpt-4o",
"compiler":"clang",
"compileflags":"-O3 -march=native -DNDEBUG=1",
"compilerfamily":"clang",
"optreport":"-Rpass-missed=. -c",
"leanOptReport":2,
"historyFile":"query.json",
"responseFile":"response.json",
"responseField":"choices[0].message.content",
"testScript":"",
"testRuns":1,
"testOutliers":0,
"newFileExt":"",
"inputLang":"cpp",
"outputLang":"cpp",
"systemText":"You are a compiler expert for C++ code optimization. Our goal is to improve the existing code.",
"systemTextFile":"",
"roleOfAI":"assistant",
"firstPrompt":"Given the following input code in C++:\n<<code>>\nThe compiler optimization report is as follows:\n<<report>>\nTask 1: Recognize the coding patterns.\nTask 2: Make pattern specific optimizations to the code. Do not use OpenMP.\nTask 3: Consider the optimization report and prioritize the missed optimizations in terms of expected improvement.\nTask 4: Use the prioritized list to improve the input code further.",
"successPrompt":"The compiler optimization report for the latest version is as follows:\n<<report>>\nTask 1: Consider the optimization report and prioritize the missed optimizations in terms of expected improvement.\nTask 2: Use the prioritized list to improve the input code further.",
"compFailPrompt":"This version did not compile. Here are the error messages:\n<<report>>\nTry again.",
"testFailPrompt":"This version failed the regression tests. Here are the error messages:\n<<report>>\nTry again.",
"stopOnSuccess":false,
"iterations":1
}
CmdlineArgs: tests/matmul-1/simplematrix.cc@α-Ω
compile: tests/matmul-1/simplematrix.cc@α-Ω
compile: clang -Rpass-missed=. -c -O3 -march=native -DNDEBUG=1 tests/matmul-1/simplematrix.cc
libc++abi: terminating due to uncaught exception of type boost::process::process_error: execve failed: No such file or directory
Abort trap: 6
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the README instructions and reproduce the shown ./compgpt.bin command, then inspect how the project defines or invokes the requested make check smoke test. Trace the failing executable lookup and confirm the finished check runs successfully using the documented setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, cpp
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100