From c91f3a13a8fd4cadc90315e28c5d529180647b17 Mon Sep 17 00:00:00 2001 From: Aleks Knezevic Date: Thu, 19 Sep 2024 13:54:52 +0000 Subject: [PATCH] Switch to https for git download --- src/tt/CMakeLists.txt | 1 + third_party/CMakeLists.txt | 4 ++-- venv/activate | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/tt/CMakeLists.txt b/src/tt/CMakeLists.txt index d09bb47..55b4c2a 100644 --- a/src/tt/CMakeLists.txt +++ b/src/tt/CMakeLists.txt @@ -30,6 +30,7 @@ set_target_properties(TTPJRTTTDylib PROPERTIES PREFIX "" # Disable "lib" prefix. LIBRARY_OUTPUT_NAME pjrt_plugin_tt + INSTALL_RPATH "$ORIGIN" ) install(TARGETS TTPJRTTTDylib DESTINATION lib) diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt index 6ed9974..c794f1b 100644 --- a/third_party/CMakeLists.txt +++ b/third_party/CMakeLists.txt @@ -32,7 +32,7 @@ else() -DTTMLIR_ENABLE_STABLEHLO=ON -DTTMLIR_ENABLE_RUNTIME=ON -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX} - GIT_REPOSITORY git@github.com:tenstorrent/tt-mlir.git + GIT_REPOSITORY https://github.com/tenstorrent/tt-mlir.git GIT_TAG ${TT_MLIR_VERSION} GIT_PROGRESS ON ) @@ -68,7 +68,7 @@ else() -DCMAKE_CXX_COMPILER=clang++-17 -DCMAKE_CXX_FLAGS=${FLAGS} -DCMAKE_INSTALL_PREFIX=${TTPJRT_SOURCE_DIR}/third_party/loguru/src/loguru-install - GIT_REPOSITORY git@github.com:emilk/loguru.git + GIT_REPOSITORY https://github.com/emilk/loguru.git GIT_TAG ${LOGURU_VERSION} GIT_PROGRESS ON ) diff --git a/venv/activate b/venv/activate index 5f2a32a..44c280e 100644 --- a/venv/activate +++ b/venv/activate @@ -3,6 +3,8 @@ if [ -z "${TTMLIR_TOOLCHAIN_DIR}" ]; then export TTMLIR_TOOLCHAIN_DIR="/opt/ttmlir-toolchain" fi +export LD_LIBRARY_PATH=$TTMLIR_TOOLCHAIN_DIR/lib:$LD_LIBRRARY_PATH + export TTMLIR_VENV_DIR="$(pwd)/venv" if [ -d $TTMLIR_VENV_DIR/bin ]; then [ -f $TTMLIR_VENV_DIR/bin/activate ] && source $TTMLIR_VENV_DIR/bin/activate