Absolute paths

This commit is contained in:
Andrea Cavalli 2023-05-07 17:00:07 +02:00
parent 1ee5e2d163
commit de1fcdd602
5 changed files with 12 additions and 12 deletions

View File

@ -8,8 +8,8 @@ rm -rf implementations/tdlight/td_tools_build implementations/tdlight/build api/
mkdir -p implementations/tdlight/build implementations/tdlight/build/td_bin/bin implementations/tdlight/td_tools_build/java/it/tdlight/jni api/src/main/java-legacy/it/tdlight/jni api/src/main/java-sealed/it/tdlight/jni natives/src/main/java/it/tdlight/jni natives/build natives/tdjni_bin natives/tdjni_docs
# Default compiler
export CMAKE_C_COMPILER=clang-10
export CMAKE_CXX_COMPILER=clang++-10
export CMAKE_C_COMPILER="/usr/bin/ccache /usr/bin/clang-10"
export CMAKE_CXX_COMPILER="/usr/bin/ccache /usr/bin/clang++-10"
# Build tdlib tools
cd implementations/tdlight/td_tools_build

View File

@ -8,8 +8,8 @@ rm -rf implementations/tdlight/td_tools_build implementations/tdlight/build api/
mkdir -p implementations/tdlight/build implementations/tdlight/build/td_bin/bin implementations/tdlight/td_tools_build/java/it/tdlight/jni api/src/main/java-legacy/it/tdlight/jni api/src/main/java-sealed/it/tdlight/jni natives/src/main/java/it/tdlight/jni natives/build natives/tdjni_bin natives/tdjni_docs
# Default compiler
export CMAKE_C_COMPILER=clang-14
export CMAKE_CXX_COMPILER=clang++-14
export CMAKE_C_COMPILER="/usr/bin/ccache /usr/bin/clang-14"
export CMAKE_CXX_COMPILER="/usr/bin/ccache /usr/bin/clang++-14"
# Build tdlib tools
cd implementations/tdlight/td_tools_build

View File

@ -9,8 +9,8 @@ rm -rf implementations/tdlight/td_tools_build implementations/tdlight/build api/
mkdir -p implementations/tdlight/build implementations/tdlight/build/td_bin/bin implementations/tdlight/td_tools_build/java/it/tdlight/jni api/src/main/java-legacy/it/tdlight/jni api/src/main/java-sealed/it/tdlight/jni natives/src/main/java/it/tdlight/jni natives/build natives/tdjni_bin natives/tdjni_docs
# Default compiler
export CMAKE_C_COMPILER=clang-10
export CMAKE_CXX_COMPILER=clang++-10
export CMAKE_C_COMPILER="/usr/bin/ccache /usr/bin/clang-10"
export CMAKE_CXX_COMPILER="/usr/bin/ccache /usr/bin/clang++-10"
# Build tdlib tools
cd implementations/tdlight/td_tools_build

View File

@ -1,8 +1,8 @@
SET(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_C_COMPILER clang-10)
set(CMAKE_CXX_COMPILER clang++-10)
set(CMAKE_AR llvm-ar-10)
set(CMAKE_C_COMPILER "/usr/bin/ccache /usr/bin/clang-10")
set(CMAKE_CXX_COMPILER "/usr/bin/ccache /usr/bin/clang++-10")
set(CMAKE_AR /usr/bin/llvm-ar-10)
# Set various compiler flags
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-psabi --specs=nosys.specs -fdata-sections -ffunction-sections -Wl,--gc-sections")

View File

@ -1,8 +1,8 @@
SET(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_C_COMPILER clang-14)
set(CMAKE_CXX_COMPILER clang++-14)
set(CMAKE_AR llvm-ar-14)
set(CMAKE_C_COMPILER "/usr/bin/ccache /usr/bin/clang-14")
set(CMAKE_CXX_COMPILER "/usr/bin/ccache /usr/bin/clang++-14")
set(CMAKE_AR /usr/bin/llvm-ar-14)
# Set various compiler flags
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-psabi --specs=nosys.specs -fdata-sections -ffunction-sections -Wl,--gc-sections")