Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Thrift to version 0.16 #657

Merged
merged 26 commits into from
Nov 12, 2023
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
9e13126
feat: add wrapper thrift generation function
LoremIPsummer Oct 25, 2023
b7c32e7
feat: use wrapper function for the thrift files
LoremIPsummer Oct 25, 2023
9500b2f
fix: catch TTransportException (API change)
LoremIPsummer Oct 25, 2023
9b57eca
feat: update java client dependency
LoremIPsummer Oct 25, 2023
8580bc2
build: update web dependencies
LoremIPsummer Oct 25, 2023
01f13d0
ci: update gitlab thrift version
LoremIPsummer Oct 25, 2023
1396d4d
docs: update thrift install instructions for Ubuntu 22.04
LoremIPsummer Oct 25, 2023
7a340f1
fix: fix new webgui dependency import
LoremIPsummer Oct 27, 2023
7985d08
refactor: function naming convention
LoremIPsummer Oct 27, 2023
971553d
Revert "feat: add wrapper thrift generation function"
LoremIPsummer Oct 31, 2023
7c91d74
Revert "feat: use wrapper function for the thrift files"
LoremIPsummer Oct 31, 2023
6dcc099
fix: remove not generated files
LoremIPsummer Oct 31, 2023
ef06f15
refactor: reorganise CI script structure
LoremIPsummer Nov 8, 2023
920c810
ci: remove thrift from ubuntu 20.04 APT dependencies
LoremIPsummer Nov 8, 2023
5b53e7d
ci: extend scripts for compilation reasons
LoremIPsummer Nov 8, 2023
91e99c3
ci: extend CI with dependency compilation support (with catching)
LoremIPsummer Nov 8, 2023
2c84060
docs: update dependency installation guide
LoremIPsummer Nov 8, 2023
cf334eb
style: language
LoremIPsummer Nov 12, 2023
b188bcf
fix: correct thrift download url
LoremIPsummer Nov 12, 2023
7a6946e
refactor: hash logic
LoremIPsummer Nov 12, 2023
3ea4378
refactor: change CI compiled dependency directories
LoremIPsummer Nov 12, 2023
705fcdc
refactor: replace direct library copying
LoremIPsummer Nov 12, 2023
a467de8
Merge branch 'master' into feature/#630/update-thrift-0.16
LoremIPsummer Nov 12, 2023
77e414a
feat: remove not generated cppmetrics files
LoremIPsummer Nov 12, 2023
9c56cd5
fix: remove leftover cppmetrics not generated references
LoremIPsummer Nov 12, 2023
68679ca
fix: remove unnecessary step
LoremIPsummer Nov 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/scripts/ubuntu-20.04/compile_build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Compile dependencies that are cannot be acquired via the official repositories
mcserep marked this conversation as resolved.
Show resolved Hide resolved

mkdir -p ${INSTALL_PATH}

## Compile Thrift
tar -xvf ${DOWNLOAD_PATH}/thrift-0.16.0.tar.gz
cd thrift-0.16.0
./configure --prefix=${INSTALL_PATH}/thrift --silent --without-python \
--enable-libtool-lock --enable-tutorial=no --enable-tests=no \
--with-libevent --with-zlib --without-nodejs --without-lua \
--without-ruby --without-csharp --without-erlang --without-perl \
--without-php --without-php_extension --without-dart \
--without-haskell --without-go --without-rs --without-haxe \
--without-dotnetcore --without-d --without-qt4 --without-qt5 \
--without-java --without-swift

make install -j $(nproc)





mcserep marked this conversation as resolved.
Show resolved Hide resolved
22 changes: 22 additions & 0 deletions .github/scripts/ubuntu-20.04/download_build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Download installers for compiled dependencies

mkdir -p ${DOWNLOAD_PATH}

## Thrift 0.16

wget -O ${DOWNLOAD_PATH}/thrift-0.16.0.tar.gz "http://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=thrift/0.16.0/thrift-0.16.0.tar.gz"
mcserep marked this conversation as resolved.
Show resolved Hide resolved

# Calculate hash of dependencies for Github Cache Action

dependencies_to_hash=("thrift-0.16.0.tar.gz")

concatenated_data=""
for file in "${dependencies_to_hash[@]}"; do
concatenated_data="${concatenated_data}$(echo -n "$file"; cat "${DOWNLOAD_PATH}/${file}")"
mcserep marked this conversation as resolved.
Show resolved Hide resolved
done

hash_value=$(echo -n "$concatenated_data" | md5sum | awk '{print $1}')

## Save said hash

echo "compile-hash-key=${hash_value}" >> $GITHUB_OUTPUT
7 changes: 7 additions & 0 deletions .github/scripts/ubuntu-20.04/postcompile_build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Post compilation configuration for building (environmental variables, library location settings etc..)

echo "${INSTALL_PATH}/thrift/bin" >> $GITHUB_PATH
echo "CMAKE_PREFIX_PATH=${INSTALL_PATH}/thrift:$CMAKE_PREFIX_PATH" >> $GITHUB_ENV


sudo cp ${INSTALL_PATH}/thrift/lib/libthrift.so /usr/lib
mcserep marked this conversation as resolved.
Show resolved Hide resolved
3 changes: 3 additions & 0 deletions .github/scripts/ubuntu-20.04/postcompile_runtime.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Post compilation configuration for runtime (environmental variables, library location settings etc..)

sudo cp ${INSTALL_PATH}/thrift/lib/libthrift.so /usr/lib
mcserep marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

# Install required packages for CodeCompass build
sudo apt-get install -y git cmake make g++ libboost-all-dev llvm-11-dev clang-11 \
libclang-11-dev odb libodb-dev thrift-compiler libthrift-dev default-jdk libssl-dev \
libclang-11-dev odb libodb-dev default-jdk libssl-dev \
libgraphviz-dev libmagic-dev libgit2-dev ctags doxygen libgtest-dev npm libldap2-dev
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
# Install required packages for CodeCompass runtime
sudo apt-get install -y git cmake make g++ graphviz \
libboost-filesystem1.71.0 libboost-log1.71.0 libboost-program-options1.71.0 \
libllvm11 clang-11 libclang1-11 libthrift-0.13.0 default-jre libssl1.1 libmagic1 \
libllvm11 clang-11 libclang1-11 default-jre libssl1.1 libmagic1 \
libgit2-28 ctags googletest libldap-2.4-2
78 changes: 74 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on: [push, pull_request, workflow_dispatch]

env:
BUILD_TYPE: Debug
## For locally compiled dependencies
INSTALL_PATH: ${{github.workspace}}/installed
## Temp directory for installers of the downloaded dependencies
DOWNLOAD_PATH: ${{github.workspace}}/downloads
mcserep marked this conversation as resolved.
Show resolved Hide resolved

jobs:

Expand All @@ -16,6 +20,9 @@ jobs:
fail-fast: false

runs-on: ${{ matrix.os }}
outputs:
has-compiled-dependencies: ${{ steps.compilation-flag.outputs.has-compiled-dependencies }}
compile-hash-key: ${{ steps.download-compile-dependencies.outputs.compile-hash-key }}

services:
# Label used to access the service container
Expand All @@ -41,10 +48,57 @@ jobs:
run: sudo apt-get update

- name: Install required packages for build
run: ./.github/scripts/setup_build_${{matrix.os}}.sh
run: ./.github/scripts/${{ matrix.os }}/setup_build.sh

- name: Set has-compiled-dependencies flag
id: compilation-flag
run: |
if [ -f ./.github/scripts/${{ matrix.os }}/compile_build.sh ]; then
echo "has-compiled-dependencies=true" >> "$GITHUB_OUTPUT"
else
echo "has-compiled-dependencies=false" >> "$GITHUB_OUTPUT"
fi

- name: Download installers for compiled dependencies
if: steps.compilation-flag.outputs.has-compiled-dependencies == 'true'
id: download-compile-dependencies
run: |
chmod +x ./.github/scripts/${{ matrix.os }}/download_build.sh
./.github/scripts/${{ matrix.os }}/download_build.sh

- name: Restore compiled dependencies
if: steps.compilation-flag.outputs.has-compiled-dependencies == 'true'
id: restore-compiled-dependencies
uses: actions/cache/restore@v3
with:
path: ${{ env.INSTALL_PATH }}
key: ${{ matrix.os }}-compile-install-${{steps.download-compile-dependencies.outputs.compile-hash-key}}

- name: Compile dependencies
if: steps.restore-compiled-dependencies.outputs.cache-hit != 'true' && steps.compilation-flag.outputs.has-compiled-dependencies == 'true'
run: |
chmod +x ./.github/scripts/${{ matrix.os }}/compile_build.sh
./.github/scripts/${{ matrix.os }}/compile_build.sh

- name: Post compilation configuration (build)
if: steps.compilation-flag.outputs.has-compiled-dependencies == 'true'
run: |
if [ -f ./.github/scripts/${{ matrix.os }}/postcompile_build.sh ]; then
chmod +x ./.github/scripts/${{ matrix.os }}/postcompile_build.sh
./.github/scripts/${{ matrix.os }}/postcompile_build.sh
fi

- name: Save dependencies
if: steps.restore-compiled-dependencies.outputs.cache-hit != 'true' && steps.compilation-flag.outputs.has-compiled-dependencies == 'true'
id: save-compiled-dependencies
uses: actions/cache/save@v3
with:
path: ${{ env.INSTALL_PATH }}
key: ${{ matrix.os }}-compile-install-${{steps.download-compile-dependencies.outputs.compile-hash-key}}


- name: Install database packages
run: ./.github/scripts/setup_${{matrix.db}}_${{matrix.os}}.sh
run: ./.github/scripts/${{ matrix.os }}/setup_${{matrix.db}}.sh

- name: Install GoogleTest
run: |
Expand Down Expand Up @@ -162,10 +216,26 @@ jobs:

# We need build dependencies for CodeCompass, as it will parsed as well
- name: Install required packages for build
run: ./.github/scripts/setup_build_${{matrix.os}}.sh
run: ./.github/scripts/${{ matrix.os }}/setup_build.sh

- name: Install database packages
run: ./.github/scripts/setup_${{matrix.db}}_${{matrix.os}}.sh
run: ./.github/scripts/${{ matrix.os }}/setup_${{matrix.db}}.sh

- name: Restore compiled dependencies
if: needs.build.outputs.has-compiled-dependencies == 'true'
id: restore-compiled-dependencies
uses: actions/cache/restore@v3
with:
path: ${{ env.INSTALL_PATH }}
key: ${{ matrix.os }}-compile-install-${{needs.build.outputs.compile-hash-key}}

- name: Post compilation configuration (runtime)
if: needs.build.outputs.has-compiled-dependencies == 'true'
run: |
if [ -f ./.github/scripts/${{ matrix.os }}/postcompile_runtime.sh ]; then
chmod +x ./.github/scripts/${{ matrix.os }}/postcompile_runtime.sh
./.github/scripts/${{ matrix.os }}/postcompile_runtime.sh
fi

- name: Download CodeCompass binaries
uses: actions/download-artifact@v2
Expand Down
8 changes: 4 additions & 4 deletions .gitlab/build-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,9 @@ fi
##########

cd $PACKAGES_DIR
wget --no-verbose --no-clobber http://archive.apache.org/dist/thrift/0.13.0/thrift-0.13.0.tar.gz
tar -xf thrift-0.13.0.tar.gz
cd thrift-0.13.0
wget --no-verbose --no-clobber http://archive.apache.org/dist/thrift/0.16.0/thrift-0.16.0.tar.gz
tar -xf thrift-0.16.0.tar.gz
cd thrift-0.16.0

CXXFLAGS="$CXXFLAGS -I$DEPS_INSTALL_RUNTIME_DIR/boost-install/include" \
LDFLAGS="$LDFLAGS -Wl,-rpath-link,$DEPS_INSTALL_RUNTIME_DIR/openssl-install/lib" \
Expand All @@ -342,7 +342,7 @@ LDFLAGS="$LDFLAGS -Wl,-rpath-link,$DEPS_INSTALL_RUNTIME_DIR/openssl-install/lib"
--without-python

make install --quiet --jobs $(nproc)
rm -f $PACKAGES_DIR/thrift-0.13.0.tar.gz
rm -f $PACKAGES_DIR/thrift-0.16.0.tar.gz

########
# Java #
Expand Down
3 changes: 2 additions & 1 deletion Functions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,5 @@ function(join _values _glue _output)
string (REGEX REPLACE "([^\\]|^);" "\\1${_glue}" _tmpStr "${_values}")
string (REGEX REPLACE "[\\](.)" "\\1" _tmpStr "${_tmpStr}") #fixes escaping
set (${_output} "${_tmpStr}" PARENT_SCOPE)
endfunction(join)

endfunction(join)
16 changes: 8 additions & 8 deletions doc/deps.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ known issues.
```bash
sudo apt install git cmake make g++ libboost-all-dev \
llvm-11-dev clang-11 libclang-11-dev \
odb libodb-dev thrift-compiler libthrift-dev \
odb libodb-dev \
default-jdk libssl-dev libgraphviz-dev libmagic-dev libgit2-dev ctags doxygen \
libldap2-dev libgtest-dev
```
Expand All @@ -65,7 +65,7 @@ sudo apt install git cmake make g++ libboost-all-dev \
```bash
sudo apt install git cmake make g++ libboost-all-dev \
llvm-11-dev clang-11 libclang-11-dev \
gcc-11-plugin-dev \
gcc-11-plugin-dev thrift-compiler libthrift-dev \
default-jdk libssl-dev libgraphviz-dev libmagic-dev libgit2-dev exuberant-ctags doxygen \
libldap2-dev libgtest-dev
```
Expand Down Expand Up @@ -157,11 +157,11 @@ time (depending on the machine one is using).
> **Note:** now you may delete the *Build2* toolchain installed in the
> `<build2_install_dir>` folder, if you do not need any longer.

### Thrift (for Ubuntu 22.04)
### Thrift (for Ubuntu 20.04)
CodeCompass needs [Thrift](https://thrift.apache.org/) which provides Remote
Procedure Call (RPC) between the server and the client. A suitable version of
Thrift is, unfortunately, not part of the official Ubuntu repositories for
this version (only a newer version is available), so you should download and
this version (only an older version is available), so you should download and
build from source.

Thrift can generate stubs for many programming languages. The configure
Expand All @@ -180,10 +180,10 @@ avoid using them if it's not necessary.

```bash
# Download and uncompress Thrift:
wget "http://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=thrift/0.13.0/thrift-0.13.0.tar.gz" \
-O thrift-0.13.0.tar.gz
tar -xvf ./thrift-0.13.0.tar.gz
cd thrift-0.13.0
wget "http://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=thrift/0.16.0/thrift-0.16.0.tar.gz" \
-O thrift-0.16.0.tar.gz
tar -xvf ./thrift-0.16.0.tar.gz
cd thrift-0.16.0
mcserep marked this conversation as resolved.
Show resolved Hide resolved

./configure --prefix=<thrift_install_dir> --silent --without-python \
--enable-libtool-lock --enable-tutorial=no --enable-tests=no \
Expand Down
Binary file removed lib/java/libthrift-0.13.0.jar
Binary file not shown.
Binary file added lib/java/libthrift-0.16.0.jar
Binary file not shown.
3 changes: 0 additions & 3 deletions plugins/cpp_reparse/service/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ add_definitions(${LLVM_DEFINITIONS})

add_custom_command(
OUTPUT
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/cppreparse_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/cppreparse_constants.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/cppreparse_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/cppreparse_types.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/CppReparseService.cpp
Expand All @@ -42,7 +40,6 @@ add_custom_command(
"Generating Thrift for cppreparse.thrift")

add_library(cppreparsethrift STATIC
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/cppreparse_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/cppreparse_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/CppReparseService.cpp)

Expand Down
6 changes: 0 additions & 6 deletions plugins/dummy/service/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ include_directories(SYSTEM

add_custom_command(
OUTPUT
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/dummy_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/dummy_constants.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/dummy_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/dummy_types.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/DummyService.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/DummyService.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp
Expand All @@ -26,8 +22,6 @@ add_custom_command(
"Generating Thrift for dummy.thrift")

add_library(dummythrift STATIC
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/dummy_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/dummy_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/DummyService.cpp)

target_compile_options(dummythrift PUBLIC -fPIC)
Expand Down
3 changes: 0 additions & 3 deletions plugins/git/service/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ include_directories(SYSTEM

add_custom_command(
OUTPUT
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/git_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/git_constants.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/git_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/git_types.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/GitService.cpp
Expand All @@ -31,7 +29,6 @@ add_custom_command(
"Generating Thrift for git.thrift")

add_library(gitthrift STATIC
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/git_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/git_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/GitService.cpp)

Expand Down
3 changes: 0 additions & 3 deletions plugins/metrics/service/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ include_directories(SYSTEM

add_custom_command(
OUTPUT
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/metrics_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/metrics_constants.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/metrics_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/metrics_types.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/MetricsService.cpp
Expand All @@ -30,7 +28,6 @@ add_custom_command(
"Generating Thrift for metrics.thrift")

add_library(metricsthrift STATIC
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/metrics_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/metrics_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/MetricsService.cpp)

Expand Down
25 changes: 18 additions & 7 deletions plugins/search/common/src/cc/search/common/ipc/IPCProcessor.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,24 @@ public IPCProcessor(CommonOptions options_, TProcessor processor_)
_processor = processor_;

TProtocolFactory factory = new TBinaryProtocol.Factory();
_inTransport = new TIOStreamTransport(
new FileInputStream(getFileNameFromFd(options_.ipcInFd)));
_outTransport = new TIOStreamTransport(
new FileOutputStream(getFileNameFromFd(options_.ipcOutFd)));

_inProtocol = factory.getProtocol(_inTransport);
_outProtocol = factory.getProtocol(_outTransport);
TTransport inTransport = null;
TTransport outTransport = null;
TProtocol inProtocol = null;
TProtocol outProtocol = null;

try {
inTransport = new TIOStreamTransport(new FileInputStream(getFileNameFromFd(options_.ipcInFd)));
outTransport = new TIOStreamTransport(new FileOutputStream(getFileNameFromFd(options_.ipcOutFd)));
inProtocol = factory.getProtocol(inTransport);
outProtocol = factory.getProtocol(outTransport);
} catch (TTransportException ex) {
_log.log(Level.SEVERE, "An error occured during the initialization of IO stream transports!", ex);
} finally {
_inTransport = inTransport;
_outTransport = outTransport;
_inProtocol = inProtocol;
_outProtocol = outProtocol;
}
}

/**
Expand Down
2 changes: 0 additions & 2 deletions plugins/search/service/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ include_directories(SYSTEM
# Generate thrift files
add_custom_command(
OUTPUT
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/search_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/search_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/SearchService.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp
Expand All @@ -32,7 +31,6 @@ add_custom_command(

# Create cpp static library from thrift files
add_library(searchthrift STATIC
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/search_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/search_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/SearchService.cpp)

Expand Down
3 changes: 0 additions & 3 deletions service/authentication/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ include_directories(SYSTEM

add_custom_command(
OUTPUT
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/authentication_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/authentication_constants.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/authentication_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/authentication_types.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/AuthenticationService.cpp
Expand All @@ -29,7 +27,6 @@ add_custom_command(
"Generating Thrift for authentication.thrift")

add_library(authenticationthrift STATIC
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/authentication_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/authentication_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/AuthenticationService.cpp)

Expand Down
Loading
Loading