build: Various build improvements (#1193)

This commit is contained in:
Nik
2023-07-15 00:10:01 +02:00
committed by GitHub
parent 1aed960a38
commit aae3004f1f
13 changed files with 18 additions and 31 deletions

1
dist/Brewfile vendored
View File

@@ -5,6 +5,7 @@ brew "ccache"
brew "freetype2"
brew "libmagic"
brew "pkg-config"
brew "curl"
brew "gcc@12"
brew "llvm"
brew "glfw"

1
dist/Dockerfile vendored
View File

@@ -14,6 +14,7 @@ RUN pacman -S --needed --noconfirm \
file \
mbedtls \
freetype2 \
curl \
dbus \
xdg-desktop-portal

View File

@@ -13,7 +13,6 @@ apt install -y \
lld \
${PKGCONF:-} \
cmake \
make \
ccache \
libglfw3-dev \
libglm-dev \
@@ -21,5 +20,6 @@ apt install -y \
libmbedtls-dev \
libfreetype-dev \
libdbus-1-dev \
libcurl4-gnutls-dev \
xdg-desktop-portal \
ninja-build

View File

@@ -5,6 +5,7 @@ dnf install -y \
dbus-devel \
file-devel \
freetype-devel \
libcurl-devel \
gcc-c++ \
git \
mesa-libGL-devel \

View File

@@ -4,10 +4,10 @@ pacman -S --needed --noconfirm \
mingw-w64-x86_64-gcc \
mingw-w64-x86_64-lld \
mingw-w64-x86_64-cmake \
mingw-w64-x86_64-make \
mingw-w64-x86_64-ccache \
mingw-w64-x86_64-glfw \
mingw-w64-x86_64-file \
mingw-w64-x86_64-curl \
mingw-w64-x86_64-mbedtls \
mingw-w64-x86_64-freetype \
mingw-w64-x86_64-dlfcn \

1
dist/rpm/imhex.spec vendored
View File

@@ -74,7 +74,6 @@ CXXFLAGS+=" -std=gnu++2b"
-D IMHEX_OFFLINE_BUILD=ON \
-D USE_SYSTEM_NLOHMANN_JSON=ON \
-D USE_SYSTEM_FMT=ON \
-D USE_SYSTEM_CURL=ON \
-D USE_SYSTEM_LLVM=ON \
-D USE_SYSTEM_YARA=ON \
-D USE_SYSTEM_NFD=ON \