Compare commits
2 Commits
df6bf95eb9
...
59dfda6063
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
59dfda6063 | ||
|
|
60373848a3 |
@@ -1,4 +1,4 @@
|
|||||||
FROM alpine:3.22.1 AS builder
|
FROM alpine:3.22.2 AS builder
|
||||||
|
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
libstdc++=14.2.0-r6 \
|
libstdc++=14.2.0-r6 \
|
||||||
@@ -18,7 +18,7 @@ COPY *.cpp *.hpp Makefile ./
|
|||||||
RUN sed -i 's/ -fsanitize=undefined//' Makefile \
|
RUN sed -i 's/ -fsanitize=undefined//' Makefile \
|
||||||
&& make -j "$(nproc)"
|
&& make -j "$(nproc)"
|
||||||
|
|
||||||
FROM alpine:3.22.1
|
FROM alpine:3.22.2
|
||||||
|
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
libstdc++=14.2.0-r6 \
|
libstdc++=14.2.0-r6 \
|
||||||
|
|||||||
4
Makefile
4
Makefile
@@ -2,8 +2,8 @@ CC := g++ -m64 -std=c++17
|
|||||||
OBJ_DIR := bin
|
OBJ_DIR := bin
|
||||||
SRC_DIR := .
|
SRC_DIR := .
|
||||||
# Optimizer flags
|
# Optimizer flags
|
||||||
#CFLAGS := -Og -g -rdynamic -pg -ggdb3 -D__DEBUG
|
#CFLAGS := -Og -march=native -g -rdynamic -pg -ggdb3 -D__DEBUG
|
||||||
CFLAGS := -O3
|
CFLAGS := -O3 -march=native
|
||||||
# Warning flags
|
# Warning flags
|
||||||
CFLAGS := $(CFLAGS) -Wall -Werror -Wextra -Wpedantic -Wshadow -Wnon-virtual-dtor -Wold-style-cast -Wcast-align -Wunused -Woverloaded-virtual -Wconversion
|
CFLAGS := $(CFLAGS) -Wall -Werror -Wextra -Wpedantic -Wshadow -Wnon-virtual-dtor -Wold-style-cast -Wcast-align -Wunused -Woverloaded-virtual -Wconversion
|
||||||
CFLAGS := $(CFLAGS) -Wsign-conversion -Wnull-dereference -Wdouble-promotion -Wformat=2 -Wimplicit-fallthrough -Wmisleading-indentation -Wduplicated-cond
|
CFLAGS := $(CFLAGS) -Wsign-conversion -Wnull-dereference -Wdouble-promotion -Wformat=2 -Wimplicit-fallthrough -Wmisleading-indentation -Wduplicated-cond
|
||||||
|
|||||||
Reference in New Issue
Block a user