neovim/neovim-snap

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

olbrew opened this issue · 5 comments

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

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

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