Skip to content
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

[lua] cmake can not return on linux, while compiling, the cpu usage is 100%, and the task will never end #15497

Closed
yongxin-ms opened this issue Jan 7, 2021 · 5 comments · Fixed by #15921
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@yongxin-ms
Copy link

yongxin-ms commented Jan 7, 2021

Describe the bug
when i use lua
cmake can not return on linux, while compiling, the cpu usage is 100%, and the task will never end

Environment

  • OS: Ubuntu20
  • Compiler: cmake 3.16

To Reproduce
vcpkg install lua
cmake .. "-DCMAKE_TOOLCHAIN_FILE=~/.vcpkg/scripts/buildsystems/vcpkg.cmake"

Expected behavior
compile complete successfully

Failure logs
-not any logs

Additional context
the same code can run perfectly on win10.

# CMakeLists.txt
cmake_minimum_required(VERSION 3.0)
project(test)

include(FindLua)
find_package(Lua REQUIRED)

add_executable(main main.cpp)

target_link_libraries(main PRIVATE ${LUA_LIBRARIES})

@yongxin-ms yongxin-ms changed the title cmake can not return on linux, while compiling, the cpu usage is 100%, and the task will never end [lua]cmake can not return on linux, while compiling, the cpu usage is 100%, and the task will never end Jan 7, 2021
@JackBoosY JackBoosY self-assigned this Jan 8, 2021
@JackBoosY JackBoosY changed the title [lua]cmake can not return on linux, while compiling, the cpu usage is 100%, and the task will never end [lua] cmake can not return on linux, while compiling, the cpu usage is 100%, and the task will never end Jan 8, 2021
@JackBoosY JackBoosY added the category:port-bug The issue is with a library, which is something the port should already support label Jan 8, 2021
@JackBoosY
Copy link
Contributor

Confirmed. Thanks for reporting this issue!

@yongxin-ms
Copy link
Author

can anybody fix it?

@JackBoosY
Copy link
Contributor

This issue is in my list to be fixed.

@JackBoosY
Copy link
Contributor

Why did you close this PR? It's not resolved yet.

@JackBoosY JackBoosY reopened this Aug 2, 2021
@yongxin-ms
Copy link
Author

now i can compile lua project, the problem might have been fixed

Why did you close this PR? It's not resolved yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants