Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support riskv64 system with an added link instruction #459

Merged
merged 1 commit into from
Aug 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,13 @@

* Treatment of character columns with missing values has been corrected (#454)

* Accessing encrypted arrays has been reverted to the older API accessors (#458)

## Build and Test Systems

* Sparse matrix conversion used mainly in tests have been updated for version 1.4-2 of the Matrix packages (#457)

* Support builds on the riskv64 platform by adding a missing link instruction (#459)


# tiledb 0.15.0
Expand Down
8 changes: 8 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -6033,6 +6033,14 @@ printf %s "checking for Darwin x86_64 use minimum version override... " >&6; }
printf "%s\n" "${CXX17_MACOS}" >&6; }
fi

## Take care of riscv64 machines and need for -latomic
if test x"${machine}" = x"riscv64"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for riscv64 linker adjustment" >&5
printf %s "checking for riscv64 linker adjustment... " >&6; }
TILEDB_LIBS="${TILEDB_LIBS} -latomic"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${TILEDB_LIBS}" >&5
printf "%s\n" "${TILEDB_LIBS}" >&6; }
fi

## -- Part 3: Check for TileDB --------------------------------------------------
##
Expand Down
6 changes: 6 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,12 @@ if test x"${uname}" = x"Darwin" -a x"${machine}" = x"x86_64"; then
AC_MSG_RESULT([${CXX17_MACOS}])
fi

## Take care of riscv64 machines and need for -latomic
if test x"${machine}" = x"riscv64"; then
AC_MSG_CHECKING([for riscv64 linker adjustment])
TILEDB_LIBS="${TILEDB_LIBS} -latomic"
AC_MSG_RESULT([${TILEDB_LIBS}])
fi

## -- Part 3: Check for TileDB --------------------------------------------------
##
Expand Down