neovim / neovim-snap

snap build for neovim
MIT License
16 stars 7 forks source link

Build type Debug instead of Release on Ubuntu Raspberry Pi (arm64 architecture) #9

Closed olbrew closed 2 years ago

olbrew commented 2 years ago

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 2 years ago

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 2 years ago

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 2 years ago

Do you mean to try rebuilding with CMAKE_BUILD_TYPE set to Release instead of RelWithDebInfo?

olbrew commented 2 years ago

I eventually switched to the Nix package so didn't look into it anymore.

hurricanehrndz commented 2 years ago

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.