diff --git a/cpp/daal/BUILD b/cpp/daal/BUILD index 4557c88ffac..3ff445745df 100644 --- a/cpp/daal/BUILD +++ b/cpp/daal/BUILD @@ -256,10 +256,6 @@ daal_dynamic_lib( deps = [ ":threading_tbb", ], - def_file = select({ - "@config//:backend_ref": "src/threading/export_lnx32e.ref.def", - "//conditions:default": "src/threading/export_lnx32e.mkl.def", - }), ) daal_module( diff --git a/cpp/daal/src/threading/export.def b/cpp/daal/src/threading/export.def deleted file mode 100644 index 7962b0a8844..00000000000 --- a/cpp/daal/src/threading/export.def +++ /dev/null @@ -1,17 +0,0 @@ -;=============================================================================== -; Copyright 2007 Intel Corporation -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. -;=============================================================================== - -EXPORTS diff --git a/cpp/daal/src/threading/export_lnx32e.mkl.def b/cpp/daal/src/threading/export_lnx32e.mkl.def deleted file mode 100644 index 7962b0a8844..00000000000 --- a/cpp/daal/src/threading/export_lnx32e.mkl.def +++ /dev/null @@ -1,17 +0,0 @@ -;=============================================================================== -; Copyright 2007 Intel Corporation -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. -;=============================================================================== - -EXPORTS diff --git a/cpp/daal/src/threading/export_lnx32e.ref.def b/cpp/daal/src/threading/export_lnx32e.ref.def deleted file mode 100644 index 7d4199874d4..00000000000 --- a/cpp/daal/src/threading/export_lnx32e.ref.def +++ /dev/null @@ -1,63 +0,0 @@ -;=============================================================================== -; Copyright 2023 Intel Corporation -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. -;=============================================================================== - -EXPORTS -openblas_set_num_threads -openblas_get_num_threads -ssyrk_ -dsyrk_ -ssyr_ -dsyr_ -sgemm_ -dgemm_ -ssymm_ -dsymm_ -sgemv_ -dgemv_ -saxpy_ -daxpy_ -sdot_ -ddot_ -sgetrf_ -dgetrf_ -sgetrs_ -dgetrs_ -spotrf_ -dpotrf_ -spotrs_ -dpotrs_ -spotri_ -dpotri_ -sgerqf_ -dgerqf_ -sormrq_ -dormrq_ -strtrs_ -dtrtrs_ -spptrf_ -dpptrf_ -sgeqrf_ -dgeqrf_ -sgeqp3_ -dgeqp3_ -sorgqr_ -dorgqr_ -sgesvd_ -dgesvd_ -ssyevd_ -dsyevd_ -sormqr_ -dormqr_ diff --git a/cpp/daal/src/threading/export_lnxarm.ref.def b/cpp/daal/src/threading/export_lnxarm.ref.def deleted file mode 100644 index 58fccd3c71a..00000000000 --- a/cpp/daal/src/threading/export_lnxarm.ref.def +++ /dev/null @@ -1,63 +0,0 @@ -;=============================================================================== -; Copyright contributors to the oneDAL project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. -;=============================================================================== - -EXPORTS -openblas_set_num_threads -openblas_get_num_threads -ssyrk_ -dsyrk_ -ssyr_ -dsyr_ -sgemm_ -dgemm_ -ssymm_ -dsymm_ -sgemv_ -dgemv_ -saxpy_ -daxpy_ -sdot_ -ddot_ -sgetrf_ -dgetrf_ -sgetrs_ -dgetrs_ -spotrf_ -dpotrf_ -spotrs_ -dpotrs_ -spotri_ -dpotri_ -sgerqf_ -dgerqf_ -sormrq_ -dormrq_ -strtrs_ -dtrtrs_ -spptrf_ -dpptrf_ -sgeqrf_ -dgeqrf_ -sgeqp3_ -dgeqp3_ -sorgqr_ -dorgqr_ -sgesvd_ -dgesvd_ -ssyevd_ -dsyevd_ -sormqr_ -dormqr_ diff --git a/cpp/daal/src/threading/export_lnxriscv64.ref.def b/cpp/daal/src/threading/export_lnxriscv64.ref.def deleted file mode 100644 index 58fccd3c71a..00000000000 --- a/cpp/daal/src/threading/export_lnxriscv64.ref.def +++ /dev/null @@ -1,63 +0,0 @@ -;=============================================================================== -; Copyright contributors to the oneDAL project -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. -;=============================================================================== - -EXPORTS -openblas_set_num_threads -openblas_get_num_threads -ssyrk_ -dsyrk_ -ssyr_ -dsyr_ -sgemm_ -dgemm_ -ssymm_ -dsymm_ -sgemv_ -dgemv_ -saxpy_ -daxpy_ -sdot_ -ddot_ -sgetrf_ -dgetrf_ -sgetrs_ -dgetrs_ -spotrf_ -dpotrf_ -spotrs_ -dpotrs_ -spotri_ -dpotri_ -sgerqf_ -dgerqf_ -sormrq_ -dormrq_ -strtrs_ -dtrtrs_ -spptrf_ -dpptrf_ -sgeqrf_ -dgeqrf_ -sgeqp3_ -dgeqp3_ -sorgqr_ -dorgqr_ -sgesvd_ -dgesvd_ -ssyevd_ -dsyevd_ -sormqr_ -dormqr_ diff --git a/cpp/daal/src/threading/export_mac.def b/cpp/daal/src/threading/export_mac.def deleted file mode 100644 index 7962b0a8844..00000000000 --- a/cpp/daal/src/threading/export_mac.def +++ /dev/null @@ -1,17 +0,0 @@ -;=============================================================================== -; Copyright 2007 Intel Corporation -; -; Licensed under the Apache License, Version 2.0 (the "License"); -; you may not use this file except in compliance with the License. -; You may obtain a copy of the License at -; -; http://www.apache.org/licenses/LICENSE-2.0 -; -; Unless required by applicable law or agreed to in writing, software -; distributed under the License is distributed on an "AS IS" BASIS, -; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -; See the License for the specific language governing permissions and -; limitations under the License. -;=============================================================================== - -EXPORTS diff --git a/dev/make/function_definitions/mac32e.mk b/dev/make/function_definitions/mac32e.mk index a86b2416838..f5cc560e309 100644 --- a/dev/make/function_definitions/mac32e.mk +++ b/dev/make/function_definitions/mac32e.mk @@ -27,7 +27,6 @@ define set_daal_rt_deps $$(eval daaldep.mac32e.rt.thr := -L$$(RELEASEDIR.tbb.soia) -ltbb -ltbbmalloc \ $$(daaldep.mac32e.rt.$$(COMPILER))) $$(eval daaldep.mac32e.rt.seq := $$(daaldep.mac32e.rt.$$(COMPILER))) - $$(eval daaldep.mac32e.threxport := export_mac.def) $$(eval daaldep.mac.threxport.create = grep -v -E '^(EXPORTS|;|$$$$$$$$)' $$$$< $$$$(USECPUS.out.grep.filter) | sed -e 's/^/-u /') endef diff --git a/dev/make/function_definitions/win32e.mk b/dev/make/function_definitions/win32e.mk index c37480ef549..9f972ef6578 100644 --- a/dev/make/function_definitions/win32e.mk +++ b/dev/make/function_definitions/win32e.mk @@ -28,7 +28,6 @@ define set_daal_rt_deps $$(dep_thr) $$(if $$(CHECK_DLL_SIG),Wintrust.lib)) $$(eval daaldep.win32e.rt.seq := $$(dep_seq) \ $$(if $$(CHECK_DLL_SIG),Wintrust.lib)) - $$(eval daaldep.win32e.threxport := export.def) $$(eval daaldep.win.threxport.create = grep -v -E '^(;|$$$$$$$$)' $$$$< $$$$(USECPUS.out.grep.filter)) endef diff --git a/makefile b/makefile index 91922e98f0b..d7ee7743c87 100644 --- a/makefile +++ b/makefile @@ -489,7 +489,6 @@ $(WORKDIR.lib)/$(core_y:%.$(MAJORBINARY).dll=%_dll.lib): $(WORKDIR.lib)/$(core_y endif $(CORE.tmpdir_y)/$(core_y:%.$y=%_link.txt): $(CORE.objs_y) $(if $(OS_is_win),$(CORE.tmpdir_y)/dll.res,) | $(CORE.tmpdir_y)/. ; $(WRITE.PREREQS) $(WORKDIR.lib)/$(core_y): $(daaldep.math_backend.ext) \ - $(if $(PLAT_is_win32e),$(CORE.srcdir)/export_win32e.def) \ $(CORE.tmpdir_y)/$(core_y:%.$y=%_link.txt) ; $(LINK.DYNAMIC) ; $(LINK.DYNAMIC.POST) $(CORE.objs_a): $(CORE.tmpdir_a)/inc_a_folders.txt @@ -840,12 +839,9 @@ THR_TBB.objs_y := $(addprefix $(THR.tmpdir_y)/,$(THR.srcs:%.cpp=%_tbb.$o)) $(WORKDIR.lib)/$(thr_tbb_a): LOPT:= $(WORKDIR.lib)/$(thr_tbb_a): $(THR_TBB.objs_a) ; $(LINK.STATIC) -$(THR.tmpdir_y)/%_link.def: $(THR.srcdir)/$(daaldep.$(PLAT).threxport) | $(THR.tmpdir_y)/. - $(daaldep.$(_OS).threxport.create) > $@ - $(WORKDIR.lib)/$(thr_tbb_y): LOPT += $(-fPIC) $(daaldep.rt.thr) $(WORKDIR.lib)/$(thr_tbb_y): LOPT += $(if $(OS_is_win),-IMPLIB:$(@:%.dll=%_dll.lib),) -$(WORKDIR.lib)/$(thr_tbb_y): $(THR_TBB.objs_y) $(if $(OS_is_win),$(THR.tmpdir_y)/dll_tbb.res,) $(THR.tmpdir_y)/$(thr_tbb_y:%.$y=%_link.def) ; $(LINK.DYNAMIC) ; $(LINK.DYNAMIC.POST) +$(WORKDIR.lib)/$(thr_tbb_y): $(THR_TBB.objs_y) $(if $(OS_is_win),$(THR.tmpdir_y)/dll_tbb.res,) ; $(LINK.DYNAMIC) ; $(LINK.DYNAMIC.POST) THR.objs_a := $(THR_TBB.objs_a) THR.objs_y := $(THR_TBB.objs_y)