Skip to content

Releases: dta-bdai/gtsam

Prebuilt wheel files

26 Jun 21:33
4f66a49

Choose a tag to compare

gtsam python wheel for arm64 built on Jetson AGX

git clone --single-branch --branch 4.2 https://github.com/borglab/gtsam.git
cd gtsam
pip install --no-cache-dir -r python/requirements.txt
mkdir build
cmake -B build . -DGTSAM_BUILD_PYTHON=ON \
                            -DCMAKE_BUILD_TYPE=Release \
                            -DBUILD_SHARED_LIBS=OFF \
                            -DGTSAM_WITH_EIGEN_MKL=OFF \
                            -DGTSAM_BUILD_EXAMPLES_ALWAYS=OFF \
                            -DGTSAM_BUILD_TIMING_ALWAYS=OFF \
                            -DGTSAM_BUILD_TESTS=OFF 
cmake --build build -j"$(nproc)" 
cmake --build build --target python-install
cd build/python
python setup.py bdist_wheel

The file is available at gtsam/build/python/dist/gtsam-4.2a9-py3-none-any.whl

Note: The version in the name is incorrect. It's technically 4.2.0, but we ignore that for now.