Skip to content

Commit

Permalink
kubridge
Browse files Browse the repository at this point in the history
  • Loading branch information
scribam committed Mar 14, 2024
1 parent 84b27d7 commit a88e60d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/vita.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ jobs:
run: |
apk add --no-cache aws-cli ccache git ninja
vdpm curl libzip openssl SceShaccCgExt vitaShaRK taihen zlib
git clone -b exceptions_mprotect --depth 1 https://github.com/bythos14/kubridge.git
cmake -S kubridge -B kubridge_build -G Ninja -DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake -DCMAKE_BUILD_TYPE=Release
cmake --build kubridge_build --config Release --target kubridge_all
cmake --install kubridge_build
git clone -b vitagl --depth 1 https://github.com/Northfear/SDL.git
cmake -S SDL -B SDL_build -G Ninja -DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake -DCMAKE_BUILD_TYPE=Release -DVIDEO_VITA_VGL=ON
cmake --build SDL_build --config Release
Expand All @@ -42,7 +46,6 @@ jobs:
- name: CMake
run: |
cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=$VITASDK/share/vita.toolchain.cmake -G Ninja ${{ matrix.config.cmakeArgs }}
cmake --build build --config Release --target kubridge_all
cmake --build build --config Release --target Flycast.vpk-vpk
- uses: actions/upload-artifact@v4
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,3 @@
[submodule "core/deps/Spout"]
path = core/deps/Spout
url = https://github.com/vkedwardli/Spout2.git
[submodule "core/deps/kubridge"]
path = core/deps/kubridge
url = https://github.com/bythos14/kubridge.git
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -672,14 +672,11 @@ if(NOT LIBZIP_FOUND OR NINTENDO_SWITCH)
endif()

if(VITA)
add_subdirectory(core/deps/kubridge)
add_dependencies(${PROJECT_NAME} kubridge_all)
target_include_directories(${PROJECT_NAME} PRIVATE core/deps/kubridge) # to override system kubridge.h if present
target_link_libraries(${PROJECT_NAME} PRIVATE
-Wl,--whole-archive pthread -Wl,--no-whole-archive
stdc++
SDL2
${CMAKE_CURRENT_BINARY_DIR}/core/deps/kubridge/stubs/libkubridge_stub.a
kubridge_stub
ScePgf_stub
SceHid_stub
SceAppMgr_stub
Expand Down
1 change: 0 additions & 1 deletion core/deps/kubridge
Submodule kubridge deleted from a4ef20

0 comments on commit a88e60d

Please sign in to comment.