Skip to content

Commit 32a36fe

Browse files
Update the runtime to remove old glibc exceptions that are no longer needed after the new compiler update (#392)
Remove the calls to use the old glibc. Co-authored-by: Mendell, Mark P <[email protected]>
1 parent 9ae15f3 commit 32a36fe

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -308,12 +308,6 @@ set_target_properties(acl_objs PROPERTIES
308308
target_compile_features(acl_objs PRIVATE cxx_std_11)
309309
# These compile_definitions need to be public, since we're building an OBJECT library (?)
310310
target_compile_definitions(acl_objs PUBLIC
311-
# Revert to old pre-C++11 ABI for std::string and std::list in libstdc++.
312-
# This is needed for ABI compatibility with the Intel® FPGA Add-On for
313-
# oneAPI Base Toolkit, particularly the simulation flow, which accesses
314-
# the internal runtime API that exposes C++ structures and functions.
315-
# https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html
316-
_GLIBCXX_USE_CXX11_ABI=0
317311
ACL_SUPPORT_DOUBLE=1
318312
ACL_HAS_STDLIB_STDIO
319313
CL_USE_DEPRECATED_OPENCL_1_0_APIS=1

fuzz_testing/test/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ add_executable(acl_fuzz_test
1414
set_target_properties(acl_fuzz_test PROPERTIES CXX_EXTENSIONS OFF)
1515
target_compile_features(acl_fuzz_test PRIVATE cxx_std_11)
1616
target_compile_definitions(acl_fuzz_test PRIVATE
17-
_GLIBCXX_USE_CXX11_ABI=0
1817
"ACL_TARGET_BIT=${ACL_TARGET_BIT}"
1918
CL_USE_DEPRECATED_OPENCL_1_0_APIS=1
2019
CL_USE_DEPRECATED_OPENCL_1_1_APIS=1

test/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ add_executable(acl_test
3131
set_target_properties(acl_test PROPERTIES CXX_EXTENSIONS OFF)
3232
target_compile_features(acl_test PRIVATE cxx_std_11)
3333
target_compile_definitions(acl_test PRIVATE
34-
_GLIBCXX_USE_CXX11_ABI=0
3534
"ACL_TARGET_BIT=${ACL_TARGET_BIT}"
3635
CL_USE_DEPRECATED_OPENCL_1_0_APIS=1
3736
CL_USE_DEPRECATED_OPENCL_1_1_APIS=1

0 commit comments

Comments
 (0)