Absolute paths
This commit is contained in:
parent
1ee5e2d163
commit
de1fcdd602
@ -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
|
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
|
# Default compiler
|
||||||
export CMAKE_C_COMPILER=clang-10
|
export CMAKE_C_COMPILER="/usr/bin/ccache /usr/bin/clang-10"
|
||||||
export CMAKE_CXX_COMPILER=clang++-10
|
export CMAKE_CXX_COMPILER="/usr/bin/ccache /usr/bin/clang++-10"
|
||||||
|
|
||||||
# Build tdlib tools
|
# Build tdlib tools
|
||||||
cd implementations/tdlight/td_tools_build
|
cd implementations/tdlight/td_tools_build
|
||||||
|
@ -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
|
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
|
# Default compiler
|
||||||
export CMAKE_C_COMPILER=clang-14
|
export CMAKE_C_COMPILER="/usr/bin/ccache /usr/bin/clang-14"
|
||||||
export CMAKE_CXX_COMPILER=clang++-14
|
export CMAKE_CXX_COMPILER="/usr/bin/ccache /usr/bin/clang++-14"
|
||||||
|
|
||||||
# Build tdlib tools
|
# Build tdlib tools
|
||||||
cd implementations/tdlight/td_tools_build
|
cd implementations/tdlight/td_tools_build
|
||||||
|
@ -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
|
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
|
# Default compiler
|
||||||
export CMAKE_C_COMPILER=clang-10
|
export CMAKE_C_COMPILER="/usr/bin/ccache /usr/bin/clang-10"
|
||||||
export CMAKE_CXX_COMPILER=clang++-10
|
export CMAKE_CXX_COMPILER="/usr/bin/ccache /usr/bin/clang++-10"
|
||||||
|
|
||||||
# Build tdlib tools
|
# Build tdlib tools
|
||||||
cd implementations/tdlight/td_tools_build
|
cd implementations/tdlight/td_tools_build
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
SET(CMAKE_SYSTEM_NAME Linux)
|
SET(CMAKE_SYSTEM_NAME Linux)
|
||||||
|
|
||||||
set(CMAKE_C_COMPILER clang-10)
|
set(CMAKE_C_COMPILER "/usr/bin/ccache /usr/bin/clang-10")
|
||||||
set(CMAKE_CXX_COMPILER clang++-10)
|
set(CMAKE_CXX_COMPILER "/usr/bin/ccache /usr/bin/clang++-10")
|
||||||
set(CMAKE_AR llvm-ar-10)
|
set(CMAKE_AR /usr/bin/llvm-ar-10)
|
||||||
|
|
||||||
# Set various compiler flags
|
# Set various compiler flags
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-psabi --specs=nosys.specs -fdata-sections -ffunction-sections -Wl,--gc-sections")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-psabi --specs=nosys.specs -fdata-sections -ffunction-sections -Wl,--gc-sections")
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
SET(CMAKE_SYSTEM_NAME Linux)
|
SET(CMAKE_SYSTEM_NAME Linux)
|
||||||
|
|
||||||
set(CMAKE_C_COMPILER clang-14)
|
set(CMAKE_C_COMPILER "/usr/bin/ccache /usr/bin/clang-14")
|
||||||
set(CMAKE_CXX_COMPILER clang++-14)
|
set(CMAKE_CXX_COMPILER "/usr/bin/ccache /usr/bin/clang++-14")
|
||||||
set(CMAKE_AR llvm-ar-14)
|
set(CMAKE_AR /usr/bin/llvm-ar-14)
|
||||||
|
|
||||||
# Set various compiler flags
|
# Set various compiler flags
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-psabi --specs=nosys.specs -fdata-sections -ffunction-sections -Wl,--gc-sections")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-psabi --specs=nosys.specs -fdata-sections -ffunction-sections -Wl,--gc-sections")
|
||||||
|
Loading…
Reference in New Issue
Block a user