-
Notifications
You must be signed in to change notification settings - Fork 257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
coremark 编译错误 #1380
Open
davidtall opened this issue
Nov 14, 2024
· 1 comment
· May be fixed by #1402 or openwrt/packages#25569
Open
coremark 编译错误 #1380
davidtall opened this issue
Nov 14, 2024
· 1 comment
· May be fixed by #1402 or openwrt/packages#25569
Comments
xlighting2017
added a commit
to xlighting2017/packages
that referenced
this issue
Nov 28, 2024
when there is an error building packages, and re-run with `make -j1 V=s`, the coremark package will report error `mkdir: cannot create directory '.../coremark-d5fad6bd094899101a4e5fd53af7298160ced6ab/XXX': File exists` so, add a check to see if that dir is already there; also add a '/' to the destination folder of the `cp` command fixes immortalwrt#1380
xlighting2017
added a commit
to xlighting2017/packages-1
that referenced
this issue
Dec 3, 2024
when there is an error building packages(other than coremark), and re-run with make -j1 V=s, the coremark package will report error ``` mkdir: cannot create directory '.../coremark-d5fad6bd094899101a4e5fd53af7298160ced6ab/aarch64': File exists ``` so, add a check to see if that dir is already there; this is due to the fact that, in the second run, that folder is already created in the first run, and not removed before the second run. also, add a '/' to the destination folder of the cp command, otherwise it will also report a "file exist" error. the '-r' is also removed, since $(CP) already have -r fixes immortalwrt/packages#1380 P.S. I'm not sure if this can be done by move the "mkdir" to `Build/Prepare` or `Build/Configure`, cause I'm not quite familiar with the Openwrt build system, so any comment is warmly welcome. Signed-off-by: xlighting2017 <[email protected]>
把makefile 里面的 mkdir 后面加个 -p 参数就能解决了,可能是多线程编译,同时执行 mkdir 报错了 |
xlighting2017
added a commit
to xlighting2017/packages-1
that referenced
this issue
Dec 17, 2024
when there is an error building packages(other than coremark), and re-run with make -j1 V=s, the coremark package will report error ``` mkdir: cannot create directory '.../coremark-d5fad6bd094899101a4e5fd53af7298160ced6ab/aarch64': File exists ``` so, add a check to see if that dir is already there; this is due to the fact that, in the second run, that folder is already created in the first run, and not removed before the second run. also, add a '/' to the destination folder of the cp command, otherwise it will also report a "file exist" error. the '-r' is also removed, since $(CP) already have -r fixes immortalwrt/packages#1380 P.S. I'm not sure if this can be done by move the "mkdir" to `Build/Prepare` or `Build/Configure`, cause I'm not quite familiar with the Openwrt build system, so any comment is warmly welcome. Signed-off-by: xlighting2017 <[email protected]>
This was referenced Dec 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
coremark 编译错误,github CI 云编译
日志如下
The text was updated successfully, but these errors were encountered: