Skip to content

Commit

Permalink
Fix march issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ProfFan committed Feb 11, 2020
1 parent 966f79f commit 3fc1e7b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions build-macos-new.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ for PYVER in ${PYTHON_VERS[@]}; do
-DGTSAM_INSTALL_CYTHON_TOOLBOX=OFF \
-DCYTHON_EXECUTABLE=$($PYBIN/python3 -c "import site; print(site.getsitepackages()[0])")/cython.py \
-DGTSAM_PYTHON_VERSION=3 \
-DGTSAM_BUILD_WITH_MARCH_NATIVE=OFF \
-DGTSAM_ALLOW_DEPRECATED_SINCE_V4=OFF \
-DCMAKE_INSTALL_PREFIX="$BUILDDIR/../gtsam_install" \
-DBoost_USE_STATIC_LIBS=ON \
Expand Down
1 change: 1 addition & 0 deletions build-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ for PYVER in ${PYTHON_VERS[@]}; do
-DGTSAM_INSTALL_CYTHON_TOOLBOX=ON \
-DCYTHON_EXECUTABLE=$($PYBIN/python3 -c "import site; print(site.getsitepackages()[0])")/cython.py \
-DGTSAM_PYTHON_VERSION=3 \
-DGTSAM_BUILD_WITH_MARCH_NATIVE=OFF \
-DGTSAM_ALLOW_DEPRECATED_SINCE_V4=OFF \
-DCMAKE_INSTALL_PREFIX="$BUILDDIR/../gtsam_install" \
-DBoost_USE_STATIC_LIBS=ON \
Expand Down
1 change: 1 addition & 0 deletions build-wheels-new.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ for PYVER in ${PYTHON_VERS[@]}; do
-DBUILD_SHARED_LIBS=OFF \
-DGTSAM_TYPEDEF_POINTS_TO_VECTORS=ON \
-DGTSAM_USE_CUSTOM_PYTHON_LIBRARY=ON \
-DGTSAM_BUILD_WITH_MARCH_NATIVE=OFF \
-DGTSAM_BUILD_PYTHON=ON \
-DPYTHON_EXECUTABLE:FILEPATH=${PYTHON_EXECUTABLE} \
-DPYTHON_INCLUDE_DIRS:PATH=${PYTHON_INCLUDE_DIR} \
Expand Down
1 change: 1 addition & 0 deletions build-wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ for PYVER in ${PYTHON_VERS[@]}; do
-DBOOST_ROOT=/usr/local \
-DBoost_NO_SYSTEM_PATHS=ON \
-DBUILD_STATIC_METIS=ON \
-DGTSAM_BUILD_WITH_MARCH_NATIVE=OFF \
-DGTSAM_USE_CUSTOM_PYTHON_LIBRARY=ON \
-DPYTHON_EXECUTABLE:FILEPATH=${PYTHON_EXECUTABLE} \
-DPYTHON_INCLUDE_DIRS:PATH=${PYTHON_INCLUDE_DIR} \
Expand Down

0 comments on commit 3fc1e7b

Please sign in to comment.