Skip to content

Implemented building with clang and transferred control on compilation flags back to CMake #1

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KOLANICH
Copy link

No description provided.

@technyon
Copy link
Owner

Thanks. Unfortunately I'm having troubles building with GCC (see below)

I checked out your branch and pulled my master into it. I'm using Arduino ESP core 2.0.4, my guess would be the changes don't play well with versions > 2.0.0. Building on a Ubuntu VM. Will look into it and see if I can fix it somehow, or maybe you have an idea.

--

-- Configuring done
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_C_COMPILE_OBJECT
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_C_COMPILE_OBJECT
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_C_COMPILE_OBJECT
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_C_COMPILE_OBJECT
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.

@KOLANICH
Copy link
Author

It's a draft currently, it is not finished and my local version is a bit different, so if you make some patches upon this PR some effort will be needed to rebase everytning. BTW, I'm using Mega and Uno. Have not tried with ESP32 yet.

@technyon
Copy link
Owner

OK I see. Let me know when it's finished to I recheck. Might be worth upgrading to ESP32 it can do so much more :).

…LVM bitcode in the case of LTO, llvm/llvm-project#55940) and "improved" building with AVR-gcc - no more hardcoded flags set by CMake itself!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants