File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,10 @@ if [ "$(uname)" == "Linux" ]; then
2424 ./b2 install --prefix=/opt/boost --with=all
2525 cd ..
2626elif [ " $( uname) " == " Darwin" ]; then
27- brew install wget cmake ninja boost
28- sudo xcode-select -switch /Applications/Xcode.app
27+ brew install wget cmake boost
28+
29+ export CC=clang
30+ export CXX=clang++
2931fi
3032
3133$( which $PYTHON ) -m pip install -r $PROJECT_DIR /python/dev_requirements.txt
@@ -52,6 +54,7 @@ cmake $PROJECT_DIR \
5254 -DCMAKE_INSTALL_PREFIX=$PROJECT_DIR /gtsam_install
5355
5456cd $PROJECT_DIR /build/python
57+ echo | gcc -E -dM - | grep __GNUC__
5558
5659# Install the Python wrapper module and generate Python stubs
5760if [ " $( uname) " == " Linux" ]; then
Original file line number Diff line number Diff line change @@ -109,12 +109,6 @@ jobs:
109109 echo "DEVELOP=1" >> $GITHUB_ENV
110110 echo "TIMESTAMP=${{ needs.get_system_time.outputs.timestamp }}" >> $GITHUB_ENV
111111
112- - name : Set compiler to clang if on MacOS
113- if : startsWith(matrix.os, 'macos')
114- run : |
115- echo "CC=clang" >> $GITHUB_ENV
116- echo "CXX=clang++" >> $GITHUB_ENV
117-
118112 - name : Install Dependencies
119113 run : |
120114 python3 -m pip install -r python/dev_requirements.txt
You can’t perform that action at this time.
0 commit comments