Open barracuda156 opened 2 months ago
Also, to find it with pkg-config
, .pc
file should be set correctly.
36-25% export PKG_CONFIG_PATH=/opt/local/libexec/onetbb/lib/pkgconfig
36-25% pkg-config --cflags tbb
Package tbb was not found in the pkg-config search path.
Perhaps you should add the directory containing `tbb.pc'
to the PKG_CONFIG_PATH environment variable
No package 'tbb' found
36-25% pkg-config --cflags tbb32
-I/opt/local/libexec/onetbb/include
Because:
36-25% port contents onetbb
Port onetbb @2021.13.0_0+legacy_dispatch contains:
/opt/local/lib/cmake/TBB/TBBConfig.cmake
/opt/local/lib/cmake/TBB/TBBConfigVersion.cmake
/opt/local/lib/cmake/TBB/TBBTargets-macports.cmake
/opt/local/lib/cmake/TBB/TBBTargets.cmake
/opt/local/libexec/onetbb/include/oneapi/tbb.h
/opt/local/libexec/onetbb/include/oneapi/tbb/blocked_range.h
/opt/local/libexec/onetbb/include/oneapi/tbb/blocked_range2d.h
/opt/local/libexec/onetbb/include/oneapi/tbb/blocked_range3d.h
/opt/local/libexec/onetbb/include/oneapi/tbb/blocked_rangeNd.h
/opt/local/libexec/onetbb/include/oneapi/tbb/cache_aligned_allocator.h
/opt/local/libexec/onetbb/include/oneapi/tbb/collaborative_call_once.h
/opt/local/libexec/onetbb/include/oneapi/tbb/combinable.h
/opt/local/libexec/onetbb/include/oneapi/tbb/concurrent_hash_map.h
/opt/local/libexec/onetbb/include/oneapi/tbb/concurrent_lru_cache.h
/opt/local/libexec/onetbb/include/oneapi/tbb/concurrent_map.h
/opt/local/libexec/onetbb/include/oneapi/tbb/concurrent_priority_queue.h
/opt/local/libexec/onetbb/include/oneapi/tbb/concurrent_queue.h
/opt/local/libexec/onetbb/include/oneapi/tbb/concurrent_set.h
/opt/local/libexec/onetbb/include/oneapi/tbb/concurrent_unordered_map.h
/opt/local/libexec/onetbb/include/oneapi/tbb/concurrent_unordered_set.h
/opt/local/libexec/onetbb/include/oneapi/tbb/concurrent_vector.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_aggregator.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_aligned_space.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_allocator_traits.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_assert.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_attach.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_concurrent_queue_base.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_concurrent_skip_list.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_concurrent_unordered_base.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_config.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_containers_helpers.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_exception.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_export.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_flow_graph_body_impl.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_flow_graph_cache_impl.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_flow_graph_impl.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_flow_graph_indexer_impl.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_flow_graph_item_buffer_impl.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_flow_graph_join_impl.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_flow_graph_node_impl.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_flow_graph_node_set_impl.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_flow_graph_nodes_deduction.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_flow_graph_tagged_buffer_impl.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_flow_graph_trace_impl.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_flow_graph_types_impl.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_hash_compare.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_intrusive_list_node.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_machine.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_mutex_common.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_namespace_injection.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_node_handle.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_pipeline_filters.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_pipeline_filters_deduction.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_range_common.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_rtm_mutex.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_rtm_rw_mutex.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_scoped_lock.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_segment_table.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_small_object_pool.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_string_resource.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_task.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_task_handle.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_template_helpers.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_utils.h
/opt/local/libexec/onetbb/include/oneapi/tbb/detail/_waitable_atomic.h
/opt/local/libexec/onetbb/include/oneapi/tbb/enumerable_thread_specific.h
/opt/local/libexec/onetbb/include/oneapi/tbb/flow_graph.h
/opt/local/libexec/onetbb/include/oneapi/tbb/flow_graph_abstractions.h
/opt/local/libexec/onetbb/include/oneapi/tbb/global_control.h
/opt/local/libexec/onetbb/include/oneapi/tbb/info.h
/opt/local/libexec/onetbb/include/oneapi/tbb/memory_pool.h
/opt/local/libexec/onetbb/include/oneapi/tbb/mutex.h
/opt/local/libexec/onetbb/include/oneapi/tbb/null_mutex.h
/opt/local/libexec/onetbb/include/oneapi/tbb/null_rw_mutex.h
/opt/local/libexec/onetbb/include/oneapi/tbb/parallel_for.h
/opt/local/libexec/onetbb/include/oneapi/tbb/parallel_for_each.h
/opt/local/libexec/onetbb/include/oneapi/tbb/parallel_invoke.h
/opt/local/libexec/onetbb/include/oneapi/tbb/parallel_pipeline.h
/opt/local/libexec/onetbb/include/oneapi/tbb/parallel_reduce.h
/opt/local/libexec/onetbb/include/oneapi/tbb/parallel_scan.h
/opt/local/libexec/onetbb/include/oneapi/tbb/parallel_sort.h
/opt/local/libexec/onetbb/include/oneapi/tbb/partitioner.h
/opt/local/libexec/onetbb/include/oneapi/tbb/profiling.h
/opt/local/libexec/onetbb/include/oneapi/tbb/queuing_mutex.h
/opt/local/libexec/onetbb/include/oneapi/tbb/queuing_rw_mutex.h
/opt/local/libexec/onetbb/include/oneapi/tbb/rw_mutex.h
/opt/local/libexec/onetbb/include/oneapi/tbb/scalable_allocator.h
/opt/local/libexec/onetbb/include/oneapi/tbb/spin_mutex.h
/opt/local/libexec/onetbb/include/oneapi/tbb/spin_rw_mutex.h
/opt/local/libexec/onetbb/include/oneapi/tbb/task.h
/opt/local/libexec/onetbb/include/oneapi/tbb/task_arena.h
/opt/local/libexec/onetbb/include/oneapi/tbb/task_group.h
/opt/local/libexec/onetbb/include/oneapi/tbb/task_scheduler_observer.h
/opt/local/libexec/onetbb/include/oneapi/tbb/tbb_allocator.h
/opt/local/libexec/onetbb/include/oneapi/tbb/tbbmalloc_proxy.h
/opt/local/libexec/onetbb/include/oneapi/tbb/tick_count.h
/opt/local/libexec/onetbb/include/oneapi/tbb/version.h
/opt/local/libexec/onetbb/include/tbb/blocked_range.h
/opt/local/libexec/onetbb/include/tbb/blocked_range2d.h
/opt/local/libexec/onetbb/include/tbb/blocked_range3d.h
/opt/local/libexec/onetbb/include/tbb/blocked_rangeNd.h
/opt/local/libexec/onetbb/include/tbb/cache_aligned_allocator.h
/opt/local/libexec/onetbb/include/tbb/collaborative_call_once.h
/opt/local/libexec/onetbb/include/tbb/combinable.h
/opt/local/libexec/onetbb/include/tbb/concurrent_hash_map.h
/opt/local/libexec/onetbb/include/tbb/concurrent_lru_cache.h
/opt/local/libexec/onetbb/include/tbb/concurrent_map.h
/opt/local/libexec/onetbb/include/tbb/concurrent_priority_queue.h
/opt/local/libexec/onetbb/include/tbb/concurrent_queue.h
/opt/local/libexec/onetbb/include/tbb/concurrent_set.h
/opt/local/libexec/onetbb/include/tbb/concurrent_unordered_map.h
/opt/local/libexec/onetbb/include/tbb/concurrent_unordered_set.h
/opt/local/libexec/onetbb/include/tbb/concurrent_vector.h
/opt/local/libexec/onetbb/include/tbb/enumerable_thread_specific.h
/opt/local/libexec/onetbb/include/tbb/flow_graph.h
/opt/local/libexec/onetbb/include/tbb/flow_graph_abstractions.h
/opt/local/libexec/onetbb/include/tbb/global_control.h
/opt/local/libexec/onetbb/include/tbb/info.h
/opt/local/libexec/onetbb/include/tbb/memory_pool.h
/opt/local/libexec/onetbb/include/tbb/mutex.h
/opt/local/libexec/onetbb/include/tbb/null_mutex.h
/opt/local/libexec/onetbb/include/tbb/null_rw_mutex.h
/opt/local/libexec/onetbb/include/tbb/parallel_for.h
/opt/local/libexec/onetbb/include/tbb/parallel_for_each.h
/opt/local/libexec/onetbb/include/tbb/parallel_invoke.h
/opt/local/libexec/onetbb/include/tbb/parallel_pipeline.h
/opt/local/libexec/onetbb/include/tbb/parallel_reduce.h
/opt/local/libexec/onetbb/include/tbb/parallel_scan.h
/opt/local/libexec/onetbb/include/tbb/parallel_sort.h
/opt/local/libexec/onetbb/include/tbb/partitioner.h
/opt/local/libexec/onetbb/include/tbb/profiling.h
/opt/local/libexec/onetbb/include/tbb/queuing_mutex.h
/opt/local/libexec/onetbb/include/tbb/queuing_rw_mutex.h
/opt/local/libexec/onetbb/include/tbb/rw_mutex.h
/opt/local/libexec/onetbb/include/tbb/scalable_allocator.h
/opt/local/libexec/onetbb/include/tbb/spin_mutex.h
/opt/local/libexec/onetbb/include/tbb/spin_rw_mutex.h
/opt/local/libexec/onetbb/include/tbb/task.h
/opt/local/libexec/onetbb/include/tbb/task_arena.h
/opt/local/libexec/onetbb/include/tbb/task_group.h
/opt/local/libexec/onetbb/include/tbb/task_scheduler_observer.h
/opt/local/libexec/onetbb/include/tbb/tbb.h
/opt/local/libexec/onetbb/include/tbb/tbb_allocator.h
/opt/local/libexec/onetbb/include/tbb/tbbmalloc_proxy.h
/opt/local/libexec/onetbb/include/tbb/tick_count.h
/opt/local/libexec/onetbb/include/tbb/version.h
/opt/local/libexec/onetbb/lib/cmake/TBB/TBBConfig.cmake
/opt/local/libexec/onetbb/lib/cmake/TBB/TBBConfigVersion.cmake
/opt/local/libexec/onetbb/lib/cmake/TBB/TBBTargets-macports.cmake
/opt/local/libexec/onetbb/lib/cmake/TBB/TBBTargets.cmake
/opt/local/libexec/onetbb/lib/libtbb.12.13.dylib
/opt/local/libexec/onetbb/lib/libtbb.12.dylib
/opt/local/libexec/onetbb/lib/libtbb.dylib
/opt/local/libexec/onetbb/lib/libtbbbind_2_5.3.13.dylib
/opt/local/libexec/onetbb/lib/libtbbbind_2_5.3.dylib
/opt/local/libexec/onetbb/lib/libtbbbind_2_5.dylib
/opt/local/libexec/onetbb/lib/libtbbmalloc.2.13.dylib
/opt/local/libexec/onetbb/lib/libtbbmalloc.2.dylib
/opt/local/libexec/onetbb/lib/libtbbmalloc.dylib
/opt/local/libexec/onetbb/lib/libtbbmalloc_proxy.2.13.dylib
/opt/local/libexec/onetbb/lib/libtbbmalloc_proxy.2.dylib
/opt/local/libexec/onetbb/lib/libtbbmalloc_proxy.dylib
/opt/local/libexec/onetbb/lib/pkgconfig/tbb32.pc
/opt/local/libexec/onetbb/share/doc/TBB/README.md
(I believe, for a 64-bit system it will be tbb64.pc
, respectively.)
P. S. Why is prefix hardcoded to /usr/local
, instead of using an environment variable?
UPD. Ah, it does not rely on RcppParallel
, so that is not an option, but pkg-config
notion is still relevant: as of now, this just does not work correctly.
Finally, here is why the configure test may fail even when pkg-config finds oneTBB correctly:
. . .
checking Intel TBB existence:... yes
checking tbb available for compiling and linking:... no
configure: WARNING: parallel computing is disabled because the Intel TBB devel package is absent
. . .
I copied the contents of libtbb_test.cpp
from configure script and try building that:
36-25% /opt/local/bin/g++-mp-13 -arch ppc -I/opt/local/libexec/onetbb/include -o libtbb_test libtbb_test.cpp -L/opt/local/libexec/onetbb/lib -ltbb
Undefined symbols:
"___atomic_fetch_add_8", referenced from:
__ZN3tbb6detail2d112wait_context13add_referenceEx in cc0TD586.o
ld: symbol(s) not found
collect2: error: ld returned 1 exit status
I.e. you need to pass -latomic
for 32-bit archs or otherwise do not use 64-bit atomics here.
Fixing all of the above, I got it to work now:
---> Extracting seededlda_1.4.0.tar.gz
Executing: cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_R_R-seededlda/R-seededlda/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/R-seededlda/seededlda_1.4.0.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -
---> Applying patches to R-seededlda
---> Applying patch-fix-finding-TBB.diff
Executing: cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_R_R-seededlda/R-seededlda/work/seededlda" && /usr/bin/patch -t -N -p0 < '/opt/PPCSnowLeopardPorts/R/R-seededlda/files/patch-fix-finding-TBB.diff'
patching file configure
---> Applying patch-use-right-prefix.diff
Executing: cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_R_R-seededlda/R-seededlda/work/seededlda" && /usr/bin/patch -t -N -p0 < '/opt/PPCSnowLeopardPorts/R/R-seededlda/files/patch-use-right-prefix.diff'
patching file configure
---> Applying patch-atomics.diff
Executing: cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_R_R-seededlda/R-seededlda/work/seededlda" && /usr/bin/patch -t -N -p0 < '/opt/PPCSnowLeopardPorts/R/R-seededlda/files/patch-atomics.diff'
patching file configure
---> Patching configure: s|@PREFIX@|/opt/local|
---> Patching configure: s|@BIT@|32|g
---> Configuring R-seededlda
Executing: cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_R_R-seededlda/R-seededlda/work/seededlda" && /opt/local/bin/R CMD build . --no-manual --no-build-vignettes --keep-empty-dirs
* checking for file ‘./DESCRIPTION’ ... OK
* preparing ‘seededlda’:
* checking DESCRIPTION meta-information ... OK
* cleaning src
* running ‘cleanup’
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
* building ‘seededlda_1.4.0.tar.gz’
---> Building R-seededlda
xinstall: mkdir /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_R_R-seededlda/R-seededlda/work/build
Executing: cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_R_R-seededlda/R-seededlda/work/seededlda" && /opt/local/bin/R CMD INSTALL . --library=/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_R_R-seededlda/R-seededlda/work/build --install-tests
* installing *source* package ‘seededlda’ ...
file ‘configure’ has the wrong MD5 checksum
** using staged installation
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C++... yes
checking whether /opt/local/bin/g++-mp-13 -std=gnu++17 accepts -g... yes
checking for /opt/local/bin/g++-mp-13 -std=gnu++17 option to enable C++11 features... none needed
checking how to run the C++ preprocessor... /opt/local/bin/g++-mp-13 -std=gnu++17 -E
checking for gcc... /opt/local/bin/gcc-mp-13
checking whether the compiler supports GNU C... yes
checking whether /opt/local/bin/gcc-mp-13 accepts -g... yes
checking for /opt/local/bin/gcc-mp-13 option to enable C11 features... none needed
checking whether the compiler supports GNU C++... (cached) yes
checking whether /opt/local/bin/g++-mp-13 -std=gnu++17 accepts -g... (cached) yes
checking for /opt/local/bin/g++-mp-13 -std=gnu++17 option to enable C++11 features... (cached) none needed
checking Intel TBB existence:... yes
checking tbb available for compiling and linking:... yes
configure: Package CPP flags: -DTBB -I/opt/local/libexec/onetbb/include
configure: Package LIBS: -L/opt/local/libexec/onetbb/lib -ltbb -latomic
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C++ compiler: ‘g++-mp-13 (MacPorts gcc13 13.3.0_0+stdlib_flag) 13.3.0’
Warning in system2("xcrun", "--show-sdk-path", TRUE, TRUE) :
running command ''xcrun' --show-sdk-path 2>&1' had status 64
using SDK: ‘NA’‘NA’‘NA’‘NA’‘NA’‘NA’
/opt/local/bin/g++-mp-13 -std=gnu++17 -I"/opt/local/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/Rcpp/include' -I'/opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppArmadillo/include' -I'/opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/quanteda/include' -I'/opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/testthat/include' -isystem/opt/local/include/LegacySupport -I/opt/local/include -I../inst/include -DTBB -I/opt/local/libexec/onetbb/include -fPIC -pipe -Os -arch ppc -c RcppExports.cpp -o RcppExports.o
/opt/local/bin/g++-mp-13 -std=gnu++17 -I"/opt/local/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/Rcpp/include' -I'/opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppArmadillo/include' -I'/opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/quanteda/include' -I'/opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/testthat/include' -isystem/opt/local/include/LegacySupport -I/opt/local/include -I../inst/include -DTBB -I/opt/local/libexec/onetbb/include -fPIC -pipe -Os -arch ppc -c lda.cpp -o lda.o
/opt/local/bin/g++-mp-13 -std=gnu++17 -I"/opt/local/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/Rcpp/include' -I'/opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppArmadillo/include' -I'/opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/quanteda/include' -I'/opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/testthat/include' -isystem/opt/local/include/LegacySupport -I/opt/local/include -I../inst/include -DTBB -I/opt/local/libexec/onetbb/include -fPIC -pipe -Os -arch ppc -c test-array.cpp -o test-array.o
/opt/local/bin/g++-mp-13 -std=gnu++17 -I"/opt/local/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/Rcpp/include' -I'/opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppArmadillo/include' -I'/opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/quanteda/include' -I'/opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/testthat/include' -isystem/opt/local/include/LegacySupport -I/opt/local/include -I../inst/include -DTBB -I/opt/local/libexec/onetbb/include -fPIC -pipe -Os -arch ppc -c test-runner.cpp -o test-runner.o
/opt/local/bin/g++-mp-13 -std=gnu++17 -I"/opt/local/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/Rcpp/include' -I'/opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppArmadillo/include' -I'/opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/quanteda/include' -I'/opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/testthat/include' -isystem/opt/local/include/LegacySupport -I/opt/local/include -I../inst/include -DTBB -I/opt/local/libexec/onetbb/include -fPIC -pipe -Os -arch ppc -c utility.cpp -o utility.o
/opt/local/bin/g++-mp-13 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/opt/local/Library/Frameworks/R.framework/Resources/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -Wl,-rpath,/opt/local/lib/libgcc -arch ppc -o seededlda.so RcppExports.o lda.o test-array.o test-runner.o utility.o -L/opt/local/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/opt/local/Library/Frameworks/R.framework/Resources/lib -lRblas -lMacportsLegacySupport -lgfortran -lSystemStubs -lef_ppc -L/opt/local/libexec/onetbb/lib -ltbb -latomic -F/opt/local/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_R_R-seededlda/R-seededlda/work/build/00LOCK-seededlda/00new/seededlda/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** tests
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (seededlda)
We need to drop our dependency on RcppParallel earlier because it bundles old TBB library, which has bugs detected by CRAN's UBSAN tests. We are no export on the configure script, so you inputs are welcome. TBB issues is discussed in the quanteda issues: https://github.com/quanteda/quanteda/issues?q=is%3Aissue+configure+is%3Aclosed
By the way, please update your seededlda to v1.4.1. There is a problem in Makevars in v1.4.0.
Configure script fails to find
opeTBB
, despiteRcppParallel
using it.Nothing in configure log even mentions it:
What it should do to work correctly is query for TBB flags with
RcppParallel
.