Hi Graham,

On 28 February 2023 at 19:36, Graham Inggs wrote:
| Hi Dirk
| 
| Thanks for the quick upload!
| Already got a successful build of tiledb-py on riscv64[1].
| 
| On Tue, 28 Feb 2023 at 17:14, Dirk Eddelbuettel <e...@debian.org> wrote:
| > TileDB upstream does everything in CMake (which I do not fully speak) so
| > "eventually" it would be nice to port this.
| 
| After testing the patch which I eventually submitted, I found a bug[2]
| that in message #5, discusses a way to automatically link libatomic
| when required by calling the linker with -pthread, instead of linking
| with -lpthread.
| 
| Then, in message #25, the way to do this in CMake is shown:
| 
| set(THREADS_PREFER_PTHREAD_FLAG ON)
| find_package(Threads REQUIRED)
|
| I tried applying this patch to TileDB, but it did not work for me.
| Perhaps upstream can make more sense of what is suggested in that bug
| report and in the linked cmake issue[3].

That's quite helpful. I will pass that on. 

Cheers, Dirk
 
| Regards
| Graham
| 
| 
| [1] https://buildd.debian.org/status/logs.php?pkg=tiledb-py&arch=riscv64
| [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895969
| [3] https://cmake.org/Bug/view.php?id=14767

-- 
dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

Reply via email to