Skip to content

Commit

Permalink
[EXECUTOR] Updated Python version to 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonWong14 committed May 28, 2024
1 parent 1c66e4b commit 1475ad1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion executor/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ LIBS=-pthread -lrt -Wall -export-dynamic -fPIC
SRCS = executor.c gamestate_filter.c ../logger/logger.c ../runtime_util/runtime_util.c ../shm_wrapper/shm_wrapper.c

# Python compilation definitions
PY_VER = python3.10
PY_VER = python3.11
PY_LIB = -l$(PY_VER)
CFLAGS = $(shell $(PY_VER)-config --cflags)

Expand Down
2 changes: 1 addition & 1 deletion executor/executor.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#define PY_SSIZE_T_CLEAN
#include <arpa/inet.h> //for networking
#include <pthread.h> //for POSIX threads
#include <python3.10/Python.h> // For Python's C API
#include <python3.11/Python.h> // For Python's C API
#include <signal.h> // Used to handle SIGTERM, SIGINT, SIGKILL
#include <stdint.h> //for standard int types
#include <stdio.h> //for i/o
Expand Down

0 comments on commit 1475ad1

Please sign in to comment.