Repository navigation
Expand file tree
/
Copy pathverify_setup.sh
More file actions
executable file
·72 lines (62 loc) · 2.05 KB
/
Copy pathverify_setup.sh
File metadata and controls
executable file
·72 lines (62 loc) · 2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#!/bin/bash
set -e
echo "🔍 Verifying ThoughtOS Setup"
echo "============================"
# Check llama.cpp setup
echo ""
echo "📦 Checking llama.cpp..."
if [ -d "third_party/llama.cpp" ]; then
echo " ✅ llama.cpp directory exists"
if [ -f "third_party/llama.cpp/include/llama.h" ]; then
echo " ✅ llama.h header found"
else
echo " ❌ llama.h header NOT found - run ./setup_llamacpp.sh"
fi
if [ -f "third_party/llama.cpp/ggml/include/ggml.h" ]; then
echo " ✅ ggml.h header found"
else
echo " ❌ ggml.h header NOT found - run ./setup_llamacpp.sh"
fi
if [ -d "third_party/llama.cpp/build-apple/llama.framework" ]; then
echo " ✅ llama.framework found"
else
echo " ⚠️ llama.framework NOT found - run ./setup_llamacpp.sh to build"
fi
else
echo " ❌ llama.cpp directory NOT found - run ./setup_llamacpp.sh"
fi
# Check framework source directories
echo ""
echo "📦 Checking framework sources..."
FRAMEWORKS=("CoreCrypto" "ContextEngine" "Embeddings" "Summarizer" "LlamaCpp")
for framework in "${FRAMEWORKS[@]}"; do
if [ -d "packages/$framework/Sources" ]; then
echo " ✅ $framework sources found"
else
echo " ❌ $framework sources NOT found"
fi
done
# Check Xcode project
echo ""
echo "📦 Checking Xcode project..."
if [ -f "ThoughtOS.xcodeproj/project.pbxproj" ]; then
echo " ✅ Xcode project exists"
else
echo " ⚠️ Xcode project NOT found - run 'xcodegen generate'"
fi
# Check deployment target
echo ""
echo "📦 Checking deployment target..."
if grep -q "iOS: 17.0" project.yml; then
echo " ✅ Deployment target set to iOS 17.0 (iPhone 17 Pro Max compatible)"
else
echo " ⚠️ Deployment target may not be correct"
fi
echo ""
echo "✅ Verification complete!"
echo ""
echo "Next steps:"
echo "1. If llama.cpp is missing: ./setup_llamacpp.sh"
echo "2. If Xcode project is missing: xcodegen generate"
echo "3. Open ThoughtOS.xcodeproj in Xcode"
echo "4. Build and run on your iPhone 17 Pro Max"