Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
fb859e9
Enable Cobol [skip ci]
ahmedihabb2 Jun 6, 2023
f53a146
SSH intro runner [skip ci]
ahmedihabb2 Jun 8, 2023
3c10934
Fix cobol paths [skip ci]
ahmedihabb2 Jun 8, 2023
983647d
Fix cobol paths [skip ci]
ahmedihabb2 Jun 8, 2023
78d165c
SSH to try commands [skip ci]
ahmedihabb2 Jun 8, 2023
eb1cf48
Enable C [skip ci]
ahmedihabb2 Jun 8, 2023
b6b7fb8
Debugging [skip ci]
ahmedihabb2 Jun 8, 2023
56808bb
Fix tcc paths [skip ci]
ahmedihabb2 Jun 8, 2023
c987122
Fix typo
ahmedihabb2 Jun 8, 2023
559970a
more debugging [skip ci]
ahmedihabb2 Jun 8, 2023
344b903
Add libclang paths [skip ci]
ahmedihabb2 Jun 8, 2023
4b84e37
SSH intro runner [skip ci]
ahmedihabb2 Jun 8, 2023
826a318
Fix cobol paths [skip ci]
ahmedihabb2 Jun 8, 2023
72eb50c
SSH to try commands [skip ci]
ahmedihabb2 Jun 8, 2023
3c861d5
Enable C [skip ci]
ahmedihabb2 Jun 8, 2023
833a97a
Debugging [skip ci]
ahmedihabb2 Jun 8, 2023
f509251
Fix tcc paths [skip ci]
ahmedihabb2 Jun 8, 2023
211149b
Fix typo
ahmedihabb2 Jun 8, 2023
c0b22a5
more debugging [skip ci]
ahmedihabb2 Jun 8, 2023
34c8b22
Add libclang paths [skip ci]
ahmedihabb2 Jun 8, 2023
5830c69
Merge branch 'build-with-c' of https://github.com/ahmedihabb2/core in…
ahmedihabb2 Jun 9, 2023
f1ce6e4
Remove Tcc installation [skip ci]
ahmedihabb2 Jun 15, 2023
532f06a
fix Tcc installation [skip ci]
ahmedihabb2 Jun 15, 2023
fe50ed5
SSH intro runner [skip ci]
ahmedihabb2 Jun 8, 2023
0998166
Fix cobol paths [skip ci]
ahmedihabb2 Jun 8, 2023
11747f2
SSH to try commands [skip ci]
ahmedihabb2 Jun 8, 2023
7bba52e
Enable C [skip ci]
ahmedihabb2 Jun 8, 2023
bd2c2bc
Debugging [skip ci]
ahmedihabb2 Jun 8, 2023
d6825a2
Fix tcc paths [skip ci]
ahmedihabb2 Jun 8, 2023
0263c05
Fix typo
ahmedihabb2 Jun 8, 2023
e07deb3
more debugging [skip ci]
ahmedihabb2 Jun 8, 2023
d222b28
Add libclang paths [skip ci]
ahmedihabb2 Jun 8, 2023
84b05ff
Remove Tcc installation [skip ci]
ahmedihabb2 Jun 15, 2023
7da6cf9
fix Tcc installation [skip ci]
ahmedihabb2 Jun 15, 2023
e9e6beb
Merge branch 'build-with-c' of https://github.com/ahmedihabb2/core in…
ahmedihabb2 Jun 15, 2023
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
Prev Previous commit
Next Next commit
Add libclang paths [skip ci]
  • Loading branch information
ahmedihabb2 committed Jun 9, 2023
commit 34c8b22c7c573884d1a5a5f21174ffa1223299c2
3 changes: 0 additions & 3 deletions .github/workflows/macos-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ jobs:
RUBY_FRAMEWORK_DIR=$(xcrun --sdk macosx --show-sdk-path)/System/Library/Frameworks/Ruby.framework
sudo rm -rf $RUBY_FRAMEWORK_DIR

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3

- name: Set up the environment
run: sh ./tools/metacall-environment.sh $METACALL_INSTALL_OPTIONS
env:
Expand Down
4 changes: 4 additions & 0 deletions tools/metacall-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -633,8 +633,12 @@ sub_c(){
mkdir -p build
CMAKE_CONFIG_PATH="$ROOT_DIR/build/CMakeConfig.txt"
TCC_PREFIX=$(brew --prefix tcc)
LIBC_PREFIX=$(brew --prefix llvm@11)
echo "-DLIBTCC_LIBRARY=${TCC_PREFIX}/lib/libtcc.a" >> $CMAKE_CONFIG_PATH
echo "-DLIBTCC_INCLUDE_DIR=${TCC_PREFIX}/include" >> $CMAKE_CONFIG_PATH
echo "-DLibClang_INCLUDE_DIR=${LIBC_PREFIX}/include/clang-c" >> $CMAKE_CONFIG_PATH
echo "-DLibClang_LIBRARY=${LIBC_PREFIX}/lib/libclang.dylib" >> $CMAKE_CONFIG_PATH

fi
}

Expand Down