Updated Dockerfile to use gcc

Added borded cpp to bench
Made borded part of make all
This commit is contained in:
BordedDev 2025-03-20 23:32:24 +01:00
parent b24b1b933c
commit fbb1db28d7
No known key found for this signature in database
GPG Key ID: C5F495EAE56673BF
4 changed files with 7 additions and 3 deletions

1
.gitignore vendored
View File

@ -9,3 +9,4 @@ isspam
risspam
isspam_cpp
.build-trigger-2014-12-02 15:26
borded_cpp_exec

View File

@ -1,7 +1,7 @@
CC = gcc
CFLAGS = -Ofast
all: build run valgrind build_risspam run_risspam build_cpp
all: build run valgrind build_risspam run_risspam build_cpp build_borded_cpp
build:
@echo "Compiling retoor_c project.".

View File

@ -11,4 +11,7 @@ print("Time Rust:",time.time() - time_start)
time_start = time.time()
subprocess.check_output('./isspam_cpp books/*.txt', shell=True)
print("Time CPP:",time.time() - time_start)
time_start = time.time()
subprocess.check_output('./borded_cpp_exec books/*.txt', shell=True)
print("Time Borded CPP:",time.time() - time_start)
print("***end benchmark***")

View File

@ -1,3 +1,3 @@
FROM alpine:latest
RUN apk update && apk add build-base sqlite-dev vim jansson-dev jansson-static cmake
FROM gcc:latest
RUN apt update && apt install -y cmake gdb
WORKDIR /home