Skip to content

Commit

Permalink
Fix compiler selection
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesroberts committed Apr 26, 2022
1 parent ade100f commit c2775c0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion clean_install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sudo rm -rf /usr/local/lib/python3.8/dist-packages/_fastwsgi*;
sudo rm -rf /usr/local/lib/python3.8/dist-packages/fastwsgi*;
rm -rf build/ dist/ bin/ __pycache__/
sudo python3 setup.py install
sudo CC="ccache clang-11" python3 setup.py install
5 changes: 0 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import os
import sys
import glob
from setuptools import setup
from distutils.core import Extension
from setup_libuv import build_libuv

if "linux" in sys.platform:
os.environ['CC'] = 'ccache clang-11'

SOURCES = glob.glob("fastwsgi/*.c") + glob.glob("llhttp/src/*.c")

module = Extension(
Expand Down

0 comments on commit c2775c0

Please sign in to comment.