Skip to content

Commit 0024e3a

Browse files
committed
chore(make): make the xspec-test target functional
1 parent 13516a8 commit 0024e3a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ xspec-test:
6363
rm -rf build
6464
cp -r xspec build
6565
cp zig-out/lib/libxsklineprofiles.a build
66+
(cd build && \
67+
echo "initpackage xsklineprofiles lmodel.dat .\n exit" | xspec)
68+
rm build/libxsklineprofiles.so
69+
$(SED_INPLACE) 's|-lXSFunctions|-lXSFunctions -L$(LIB_PATH) -Wl,-rpath,"$(LIB_PATH)" -l:libxsklineprofiles.a|g' \
70+
build/Makefile
6671
(cd build && echo "hmake \n exit \n" | xspec)
6772
cp ./kerr-transfer-functions.fits build
6873

0 commit comments

Comments
 (0)