mirror of
https://github.com/zama-ai/concrete.git
synced 2026-04-17 03:00:54 -04:00
cleanup: remove concrete-core references
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef CONCRETE_CORE_GGSW_CUH
|
||||
#define CONCRETE_CORE_GGSW_CUH
|
||||
#ifndef CNCRT_GGSW_CUH
|
||||
#define CNCRT_GGSW_CUH
|
||||
|
||||
#include "device.h"
|
||||
#include "polynomial/parameters.cuh"
|
||||
|
||||
@@ -128,9 +128,6 @@ option(CONCRETELANG_CUDA_SUPPORT "Support Concrete CUDA Execution." OFF)
|
||||
set(CONCRETE_CUDA_DIR "${CONCRETE_BACKENDS_DIR}/concrete-cuda/implementation")
|
||||
|
||||
if(CONCRETELANG_CUDA_SUPPORT)
|
||||
if(NOT DEFINED CONCRETE_CORE_PATH)
|
||||
message(FATAL_ERROR "Compiling with CUDA support requires setting CONCRETE_CORE_PATH")
|
||||
endif()
|
||||
remove_definitions("-Werror ")
|
||||
message(STATUS "Building with Concrete CUDA execution support")
|
||||
find_package(CUDAToolkit REQUIRED)
|
||||
|
||||
@@ -9,7 +9,6 @@ TIMING_ENABLED=OFF
|
||||
CC_COMPILER=
|
||||
CXX_COMPILER=
|
||||
CUDA_SUPPORT?=OFF
|
||||
CONCRETE_CORE_PATH?= $(shell pwd)/concrete-core
|
||||
INSTALL_PREFIX?=$(abspath $(BUILD_DIR))/install
|
||||
INSTALL_PATH=$(abspath $(INSTALL_PREFIX))/concretecompiler/
|
||||
MAKEFILE_ROOT_DIR=$(shell pwd)
|
||||
@@ -120,7 +119,6 @@ $(BUILD_DIR)/configured.stamp:
|
||||
-DLLVM_EXTERNAL_PROJECTS=concretelang \
|
||||
-DLLVM_EXTERNAL_CONCRETELANG_SOURCE_DIR=. \
|
||||
-DPython3_EXECUTABLE=${Python3_EXECUTABLE} \
|
||||
-DCONCRETE_CORE_PATH=$(CONCRETE_CORE_PATH) \
|
||||
-DCONCRETELANG_CUDA_SUPPORT=${CUDA_SUPPORT} \
|
||||
-DCUDAToolkit_ROOT=$(CUDA_PATH)
|
||||
touch $@
|
||||
|
||||
@@ -45,9 +45,6 @@ class MakeBuild(build_ext):
|
||||
cuda_support = os.environ.get("CONCRETE_COMPILER_CUDA_SUPPORT")
|
||||
if cuda_support:
|
||||
cmd.append(f"CUDA_SUPPORT={cuda_support}")
|
||||
concrete_core_path = os.environ.get("CONCRETE_COMPILER_CONCRETE_CORE_PATH")
|
||||
if concrete_core_path:
|
||||
cmd.append(f"CONCRETE_CORE_PATH={concrete_core_path}")
|
||||
cmd.append(f"BUILD_DIR={build_dir()}")
|
||||
cmd.append("python-bindings")
|
||||
subprocess.check_call(cmd)
|
||||
|
||||
Reference in New Issue
Block a user