Commit 307444f4 authored by Alan Marchiori's avatar Alan Marchiori
Browse files


parent 228a8b9a
CPYFLAGS=-3 --embed
# from python3-config --cflags --libs
# and modified to actually work
CFLAGS=-I/nfs/software/anaconda-3.7/include/python3.7m -I/nfs/software/anaconda-3.7/include/python3.7m -Wno-unused-result -Wsign-compare -march=nocona -mtune=native -ftree-vectorize -fPIC -fstack-protector-strong -O3 -ffunction-sections -pipe -fdebug-prefix-map=/tmp/build/80754af9/python_1553721932202/work=/usr/local/src/conda/python-3.7.3 -fdebug-prefix-map=/nfs/software/anaconda-3.7=/usr/local/src/conda-prefix -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -flto -DNDEBUG -fwrapv -O3 -Wall
LIBS=-L/nfs/software/anaconda-3.7/lib/python3.7/config-3.7m-x86_64-linux-gnu -L/nfs/software/anaconda-3.7/lib -lpython3.7m -lcrypt -lpthread -ldl -lutil -lrt -lm -Xlinker -export-dynamic
all: lt
cython $(CPYFLAGS)
lt: lt.c
gcc -v $(CFLAGS) $(LIBS) lt.c -o lt
rm -f lt.c lt
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment