Skip to content

Commit

Permalink
Merge pull request #499 from aaron-skydio/patch-1
Browse files Browse the repository at this point in the history
Fix build with spaces
  • Loading branch information
certik authored Dec 21, 2024
2 parents bf8f69a + 0bc912b commit b5bd3fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bin/install_travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# symengine's bin/install_travis.sh will install miniconda

export conda_pkgs="python=${PYTHON_VERSION} pip 'cython>=0.29.24' pytest gmp mpfr"
export conda_pkgs="python=${PYTHON_VERSION} pip pytest gmp mpfr"

if [[ "${WITH_NUMPY}" != "no" ]]; then
export conda_pkgs="${conda_pkgs} numpy";
Expand All @@ -27,7 +27,7 @@ if [[ "${WITH_SAGE}" == "yes" ]]; then
export conda_pkgs="${conda_pkgs} sage=8.1";
fi

conda install -q ${conda_pkgs}
conda install -q ${conda_pkgs} "cython>=0.29.24"

if [[ "${WITH_SYMPY}" != "no" ]]; then
pip install sympy;
Expand Down
2 changes: 1 addition & 1 deletion cmake/FindPython.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ macro(ADD_PYTHON_LIBRARY name)
configure_file(${CMAKE_SOURCE_DIR}/cmake/version_script.txt
${CMAKE_CURRENT_BINARY_DIR}/version_script_${name}.txt @ONLY)
set_property(TARGET ${name} APPEND_STRING PROPERTY
LINK_FLAGS " -Wl,--version-script=${CMAKE_CURRENT_BINARY_DIR}/version_script_${name}.txt")
LINK_FLAGS " \"-Wl,--version-script=${CMAKE_CURRENT_BINARY_DIR}/version_script_${name}.txt\"")
ELSE()
add_library(${name} SHARED ${ARGN})
ENDIF()
Expand Down

0 comments on commit b5bd3fe

Please sign in to comment.