Skip to content

Commit 9d86ed1

Browse files
committed
Fix building the framework
1 parent 26e863a commit 9d86ed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ make lib
1919
mkdir -p ../build
2020
yes | cp -rf *.a ../build
2121
yes | cp -rf ../lapack.framework ../build
22-
xcrun -sdk iphoneos clang -arch arm64 ../build/*.a -shared -o ../build/lapack.framework/lapack
22+
xcrun -sdk iphoneos clang -arch arm64 ../build/*.a -all_load -shared -F../build -framework ios_flang_runtime -framework Accelerate -o ../build/lapack.framework/lapack
2323
yes | cp -rf ../fortran-ios/share/ios_flang_runtime.framework ../build/
2424

2525
docker stop flang

0 commit comments

Comments
 (0)