Skip to content

Commit

Permalink
Delete dead codegen code
Browse files Browse the repository at this point in the history
Reviewed By: xiaoxmeng

Differential Revision: D54269600
  • Loading branch information
mbasmanova authored and facebook-github-bot committed Feb 27, 2024
1 parent 2b2030a commit 69a7472
Show file tree
Hide file tree
Showing 142 changed files with 2 additions and 19,187 deletions.
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ def build_extension(self, ext):
"-DCMAKE_VERBOSE_MAKEFILE=ON",
"-DVELOX_BUILD_PYTHON_PACKAGE=ON",
f"-DPYTHON_EXECUTABLE={exec_path} ",
"-DVELOX_CODEGEN_SUPPORT=OFF",
]
build_args = []

Expand Down
6 changes: 0 additions & 6 deletions velox/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,14 @@ endif()
add_subdirectory(functions) # depends on md5 (postgresql)
add_subdirectory(connectors)

# exec depends on codegen
if(${VELOX_ENABLE_EXEC})
add_subdirectory(exec)
add_subdirectory(codegen)
endif()

if(${VELOX_ENABLE_DUCKDB})
add_subdirectory(duckdb)
endif()

if(${VELOX_ENABLE_CODEGEN_SUPPORT})
add_subdirectory(experimental/codegen)
endif()

if(${VELOX_ENABLE_GPU})
add_subdirectory(experimental/gpu)
add_subdirectory(experimental/wave)
Expand Down
21 changes: 0 additions & 21 deletions velox/codegen/CMakeLists.txt

This file was deleted.

60 changes: 0 additions & 60 deletions velox/codegen/Codegen-Stubs.h

This file was deleted.

23 changes: 0 additions & 23 deletions velox/codegen/Codegen.cpp

This file was deleted.

22 changes: 0 additions & 22 deletions velox/codegen/Codegen.h

This file was deleted.

40 changes: 0 additions & 40 deletions velox/codegen/platform-support.h

This file was deleted.

2 changes: 1 addition & 1 deletion velox/exec/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ target_link_libraries(
velox_core
velox_vector
velox_connector
velox_expression
velox_time
velox_codegen
velox_common_base
velox_test_util
velox_arrow_bridge
Expand Down
6 changes: 1 addition & 5 deletions velox/exec/Task.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
#include <boost/uuid/uuid_io.hpp>
#include <string>

#include "velox/codegen/Codegen.h"
#include "velox/common/base/Counters.h"
#include "velox/common/base/StatsReporter.h"
#include "velox/common/file/FileSystems.h"
#include "velox/common/testutil/TestValue.h"
#include "velox/common/time/Timer.h"
#include "velox/exec/Exchange.h"
#include "velox/exec/HashBuild.h"
Expand All @@ -32,10 +32,6 @@
#include "velox/exec/OperatorUtils.h"
#include "velox/exec/OutputBufferManager.h"
#include "velox/exec/Task.h"
#if CODEGEN_ENABLED == 1
#include "velox/experimental/codegen/CodegenLogger.h"
#endif
#include "velox/common/testutil/TestValue.h"

using facebook::velox::common::testutil::TestValue;

Expand Down
55 changes: 0 additions & 55 deletions velox/experimental/codegen/CMakeLists.txt

This file was deleted.

Loading

0 comments on commit 69a7472

Please sign in to comment.