mirror of https://github.com/doitsujin/dxvk
Merge b913222dcc
into ab715a8876
This commit is contained in:
commit
0393954929
|
@ -54,7 +54,7 @@ jobs:
|
|||
shell: bash
|
||||
run: |
|
||||
export VERSION_NAME="${GITHUB_REF##*/}-${GITHUB_SHA##*/}"
|
||||
./package-native.sh ${VERSION_NAME} build --no-package
|
||||
./package-native.sh ${VERSION_NAME} build
|
||||
echo "VERSION_NAME=${VERSION_NAME}" >> $GITHUB_ENV
|
||||
|
||||
- name: Upload artifacts
|
||||
|
@ -62,5 +62,5 @@ jobs:
|
|||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: dxvk-${{ env.VERSION_NAME }}
|
||||
path: build/dxvk-native-${{ env.VERSION_NAME }}
|
||||
path: build/dxvk-native-${{ env.VERSION_NAME }}.tar.gz
|
||||
if-no-files-found: error
|
||||
|
|
|
@ -54,6 +54,8 @@ dep_displayinfo = dependency(
|
|||
)
|
||||
|
||||
if platform == 'windows'
|
||||
dxvk_so_version = {}
|
||||
|
||||
compiler_args += [
|
||||
'-DNOMINMAX',
|
||||
'-D_WIN32_WINNT=0xa00',
|
||||
|
@ -119,6 +121,10 @@ if platform == 'windows'
|
|||
dxvk_name_prefix = ''
|
||||
compiler_args += ['-DDXVK_WSI_WIN32']
|
||||
else
|
||||
dxvk_abi_version = '0'
|
||||
dxvk_version = meson.project_version().strip('v').split('.')
|
||||
dxvk_so_version = {'version': dxvk_abi_version + '.' + dxvk_version[0] + '.' + dxvk_version[1]}
|
||||
|
||||
wrc = find_program('touch')
|
||||
wrc_generator = generator(wrc, output : [ '@BASENAME@_ignored.h' ], arguments : [ '@OUTPUT@' ] )
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ d3d10_core_dll = shared_library('d3d10core'+dll_ext, d3d10_core_src, d3d10_core_
|
|||
vs_module_defs : 'd3d10core'+def_spec_ext,
|
||||
link_args : d3d10_core_ld_args,
|
||||
link_depends : [ d3d10_core_link_depends ],
|
||||
kwargs : dxvk_so_version,
|
||||
)
|
||||
|
||||
d3d10_core_dep = declare_dependency(
|
||||
|
|
|
@ -86,6 +86,7 @@ d3d11_dll = shared_library('d3d11'+dll_ext, dxgi_common_src + d3d11_src + d3d10_
|
|||
vs_module_defs : 'd3d11'+def_spec_ext,
|
||||
link_args : d3d11_ld_args,
|
||||
link_depends : [ d3d11_link_depends ],
|
||||
kwargs : dxvk_so_version,
|
||||
)
|
||||
|
||||
d3d11_dep = declare_dependency(
|
||||
|
|
|
@ -65,6 +65,7 @@ d3d9_dll = shared_library('d3d9'+dll_ext, d3d9_src, glsl_generator.process(d3d9_
|
|||
vs_module_defs : 'd3d9'+def_spec_ext,
|
||||
link_args : d3d9_ld_args,
|
||||
link_depends : [ d3d9_link_depends ],
|
||||
kwargs : dxvk_so_version,
|
||||
)
|
||||
|
||||
d3d9_dep = declare_dependency(
|
||||
|
|
|
@ -29,6 +29,7 @@ dxgi_dll = shared_library('dxgi'+dll_ext, dxgi_src, dxgi_res,
|
|||
vs_module_defs : 'dxgi'+def_spec_ext,
|
||||
link_args : dxgi_ld_args,
|
||||
link_depends : [ dxgi_link_depends ],
|
||||
kwargs : dxvk_so_version,
|
||||
)
|
||||
|
||||
dxgi_dep = declare_dependency(
|
||||
|
|
Loading…
Reference in New Issue