Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbourelly999 committed May 24, 2024
1 parent 1a54e7c commit 96ba379
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ if (DEFINED ENV{BUILD_ARCHITECTURE})
message(STATUS "Building Python Module binding NOT supported for crosss compiling " $ENV{BUILD_ARCHITECTURE} " builds...")
endif()
message(STATUS "Building Python Module binding NOT supported for crosss compiling " $ENV{BUILD_ARCHITECTURE} " builds...")

else()
message(STATUS "Building Python Module binding only supported for native x64 builds...")
add_subdirectory(carma_clock_py)
Expand Down
9 changes: 5 additions & 4 deletions install_dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/bin/sh
#!/bin/bash

set -ex
# export BUILD_ARCHITECTURE=arm64
# Get ubuntu distribution code name. All STOL APT debian packages are pushed to S3 bucket based on distribution codename.
echo "BUILD_ARCHITECTURE=${BUILD_ARCHITECTURE}"
if [[ "${BUILD_ARCHITECTURE}" == "x64" ]]; then
/opt/carma/script/install_dependencies_script.sh python3-dev
if [[ "${BUILD_ARCHITECTURE}" =~ arm* ]]; then
echo "WARNING: Python module support currently only exists for native x64 builds. Skipping Python module binding ... "
else
echo "NOTE: Python module support currently only exists for x64 builds. Only building C++ library ... "
/opt/carma/scripts/install_dependencies_script.sh python3-dev
fi

0 comments on commit 96ba379

Please sign in to comment.