Build type Debug instead of Release on Ubuntu Raspberry Pi (arm64 architecture)
olbrew opened this issue · 5 comments
olbrew commented
Even though the snapcraft.yaml
defines CMAKE_BUILD_TYPE=RelWithDebInfo
for the case of arm64
architecture I get a debug build when installing neovim
through a snap.
How can we change this to a Release buid?
Steps to reproduce:
> sudo snap install nvim --classic
> nvim --version
NVIM v0.6.0
Build type: Debug
hurricanehrndz commented
Good question. This question would probably be better directed at snapcraft forums.
…Sent from my iPhone
On Feb 2, 2022, at 6:12 AM, olbrew ***@***.***> wrote:
Even though the snapcraft.yaml defines CMAKE_BUILD_TYPE=RelWithDebInfo for the case of arm64 architecture I get a debug build when installing neovim through a snap.
How can we change this to a Release buid?
Steps to reproduce:
> sudo snap install nvim --classic
> nvim --version
NVIM v0.6.0
Build type: Debug
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
hurricanehrndz commented
Also have you tried changing the release to just Release.
…Sent from my iPhone
On Feb 2, 2022, at 6:12 AM, olbrew ***@***.***> wrote:
Even though the snapcraft.yaml defines CMAKE_BUILD_TYPE=RelWithDebInfo for the case of arm64 architecture I get a debug build when installing neovim through a snap.
How can we change this to a Release buid?
Steps to reproduce:
> sudo snap install nvim --classic
> nvim --version
NVIM v0.6.0
Build type: Debug
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
olbrew commented
Do you mean to try rebuilding with CMAKE_BUILD_TYPE
set to Release
instead of RelWithDebInfo
?
olbrew commented
I eventually switched to the Nix package so didn't look into it anymore.
hurricanehrndz commented
Yeah, and no worries.
…Sent from my iPhone
On Mar 4, 2022, at 6:39 AM, olbrew ***@***.***> wrote:
Do you mean to try rebuilding with CMAKE_BUILD_TYPE set to Release instead of RelWithDebInfo?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.