Skip to content

Commit

Permalink
Merge pull request #9314 from cms-sw/riscv-changes
Browse files Browse the repository at this point in the history
Changes for RISC-V
  • Loading branch information
smuzaffar authored Jul 25, 2024
2 parents 5987ef2 + 76c0887 commit 4e6b81a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions mplsetup.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
--- /dev/null 2023-08-09 02:00:04.190000000 +0200
+++ a/mplsetup.cfg 2024-07-22 10:51:17.964075612 +0200
@@ -0,0 +1,2 @@
+[libs]
+system_freetype = True
3 changes: 2 additions & 1 deletion openmpi.spec
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ Requires: zlib
--with-xpmem=$XPMEM_ROOT \
--without-x \
--with-pic \
--with-gnu-ld
--with-gnu-ld \
--with-pmix=internal

%build
make %{makeprocesses}
Expand Down
1 change: 1 addition & 0 deletions pip/matplotlib.file
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Requires: py3-numpy py3-pillow py3-pybind11
Patch0: mplsetup
%define PipPreBuild \
export CFLAGS="-I${FREETYPE_ROOT}/include/freetype2 -I${LIBPNG_ROOT}/include/libpng16" \
export LDFLAGS="-L${FREETYPE_ROOT}/lib -L${LIBPNG_ROOT}/lib" \
Expand Down
3 changes: 3 additions & 0 deletions root.spec
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ Requires: dcap

%prep
%setup -n %{n}-%{realversion}
%get_config_sub graf2d/asimage/src/libAfterImage/config.sub
%get_config_guess graf2d/asimage/src/libAfterImage/config.guess
chmod +x graf2d/asimage/src/libAfterImage/config.{sub,guess}

%build
rm -rf ../build
Expand Down

0 comments on commit 4e6b81a

Please sign in to comment.