Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
7a72d9a
delete legacy files
Feb 10, 2020
a6326cd
command line build support
Feb 10, 2020
bbb9bf9
remove unnesessary files
Feb 10, 2020
dc88edd
fix CL file compilators
Feb 10, 2020
695d61f
update git filters
Feb 10, 2020
e52bc45
remove legacy files
Feb 10, 2020
3552d9a
update git settings
Feb 10, 2020
9201d7d
remove files from submodule repo
imatyushin Feb 10, 2020
5957bb3
update build scripts
Feb 10, 2020
a31a506
update build scripts
Feb 10, 2020
143bc74
restore all projects builds
Feb 10, 2020
1646a8c
fix release script
imatyushin Feb 10, 2020
f8221b6
add postbuild installation steps
Feb 18, 2020
d54c9b7
Merge branch 'beta-cross-platform' of https://github.com/imatyushin/T…
Feb 18, 2020
a21d6fc
update ignores
imatyushin Feb 18, 2020
967be19
fixes for beta
imatyushin Feb 18, 2020
f3252e5
+post build installation steps
Feb 19, 2020
117140d
win32 fixes
imatyushin Feb 19, 2020
6ae5106
memory leak fix
Mar 11, 2020
d4d64fd
Added Jenkins file for CI
askravchenko May 7, 2020
cafc7b4
Merge pull request #3 from epozine/patch-2
radeonprorender May 7, 2020
28b4fc3
update beta with latest changes
May 7, 2020
8f35872
hotfixes
May 7, 2020
9173118
add RELEASE cmake generators, add vs2019 support
May 7, 2020
0236a43
Merge branch 'beta-cross-platform' of https://github.com/imatyushin/T…
May 7, 2020
974f25e
Added submodule
askravchenko May 7, 2020
aff62dc
update generators and builders
May 8, 2020
9966267
Merge pull request #4 from epozine/beta-cross-platform
imatyushin May 8, 2020
153cb1f
buildmaster: automatic build version update to 2
radeonprorender May 8, 2020
c82dd58
hotfixes
May 8, 2020
25902d8
Merge branch 'beta-cross-platform' of https://github.com/imatyushin/T…
May 8, 2020
0280566
buildmaster: automatic build version update to 3
radeonprorender May 8, 2020
bee1c42
Merge branch 'beta-cross-platform' of ssh://github.com/imatyushin/TAN…
radeonprorender May 8, 2020
3704ebd
buildmaster: automatic build version update to 4
radeonprorender May 8, 2020
7bdca75
omp support variants
May 8, 2020
7ca1597
buildmaster: automatic build version update to 5
radeonprorender May 12, 2020
3c6a7fb
remove not needed omp flags
May 12, 2020
e352a22
buildmaster: automatic build version update to 6
radeonprorender May 12, 2020
40aafff
OpenMP:: -> OpenML_Library
May 12, 2020
baec58c
correct support for OMP/Mac
May 12, 2020
fb8dcd6
Merge branch 'beta-cross-platform' of https://github.com/imatyushin/T…
May 12, 2020
0d2105b
buildmaster: automatic build version update to 7
radeonprorender May 12, 2020
fd29e5d
more strict omp requirement
May 12, 2020
4839dda
Merge branch 'beta-cross-platform' of https://github.com/imatyushin/T…
May 12, 2020
ce22008
buildmaster: automatic build version update to 8
radeonprorender May 12, 2020
824e771
hotfix
May 12, 2020
6a141e8
Merge branch 'beta-cross-platform' of https://github.com/imatyushin/T…
May 12, 2020
bca2e9b
buildmaster: automatic build version update to 9
radeonprorender May 12, 2020
c90e7a1
hotfix
May 12, 2020
2f1127c
Merge branch 'beta-cross-platform' of https://github.com/imatyushin/T…
May 12, 2020
0b564a6
buildmaster: automatic build version update to 10
radeonprorender May 12, 2020
c7b8057
hotfix for omp/win32
May 12, 2020
bacee51
buildmaster: automatic build version update to 11
radeonprorender May 12, 2020
9901d37
omp detects -NOTFOUND
May 13, 2020
c047971
buildmaster: automatic build version update to 12
radeonprorender May 13, 2020
83877d6
hotfix
May 13, 2020
ba09532
Merge branch 'beta-cross-platform' of https://github.com/imatyushin/T…
May 13, 2020
9f04a55
buildmaster: automatic build version update to 13
radeonprorender May 13, 2020
4aa6897
remove debug prints
May 13, 2020
ec6335c
Merge branch 'beta-cross-platform' of https://github.com/imatyushin/T…
May 13, 2020
5e6f6d5
buildmaster: automatic build version update to 14
radeonprorender May 13, 2020
310ce5c
hotfix
May 15, 2020
7649322
Merge branch 'beta-cross-platform' of https://github.com/imatyushin/T…
May 15, 2020
6b39762
buildmaster: automatic build version update to 15
radeonprorender May 15, 2020
3ca5e47
hotfix
May 15, 2020
97ded28
Merge branch 'beta-cross-platform' of https://github.com/imatyushin/T…
May 15, 2020
02c98f9
buildmaster: automatic build version update to 16
radeonprorender May 15, 2020
2dab7ca
add 8192 and 16384
May 28, 2020
08371aa
+ OCLHelper usage
May 28, 2020
d9e446c
Merge branch 'beta-cross-platform' of https://github.com/imatyushin/T…
May 28, 2020
706eaf4
buildmaster: automatic build version update to 17
radeonprorender May 28, 2020
6a75155
compute proper value
May 28, 2020
2641100
buildmaster: automatic build version update to 18
radeonprorender May 28, 2020
2dd6521
Debug queue storages
Jun 1, 2020
98a6aa6
Merge branch 'beta-cross-platform' of https://github.com/imatyushin/T…
Jun 1, 2020
d17d044
buildmaster: automatic build version update to 19
radeonprorender Jun 1, 2020
f017bbb
fix setup datas
Jun 1, 2020
0ec59df
buildmaster: automatic build version update to 20
radeonprorender Jun 1, 2020
6aa263c
remove init
Jun 1, 2020
d04d495
Merge branch 'beta-cross-platform' of https://github.com/imatyushin/T…
Jun 1, 2020
ea904e0
buildmaster: automatic build version update to 21
radeonprorender Jun 1, 2020
71b2812
Graal2 hotfixes
Jun 1, 2020
9d48c54
buildmaster: automatic build version update to 22
radeonprorender Jun 1, 2020
95255be
+ collect dependencies for all supported OSs
Jun 8, 2020
79eecfc
fix build
Jun 8, 2020
1c7815b
Merge branch 'beta-cross-platform' of https://github.com/imatyushin/T…
Jun 8, 2020
f2b3ad3
buildmaster: automatic build version update to 23
radeonprorender Jun 8, 2020
f09c77c
win32 cmake platform install
imatyushin Jun 8, 2020
0e4d14b
cleanup
imatyushin Jun 8, 2020
b003461
buildmaster: automatic build version update to 24
radeonprorender Jun 8, 2020
68e4990
+add parameter to configure AMF_HOME and AMF build type
Jun 9, 2020
9646cec
buildmaster: automatic build version update to 25
radeonprorender Jun 9, 2020
a17b687
remove debug prints
Nov 10, 2020
2f469cf
add demanded sources
Nov 10, 2020
92832de
Merge branch 'beta-cross-platform' of https://github.com/imatyushin/T…
Nov 10, 2020
12f458c
buildmaster: automatic build version update to 26
radeonprorender Nov 10, 2020
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
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
*CLKernel_*.h
*Kernels/*.cl.h
True Audio Next SDK Build Instructions.docx
/.vscode/c_cpp_properties.json
/.vscode/settings.json
/.vscode/tasks.json
/tan/tanlibrary/src/Graal/OclKernels/*.h
/tan/samples/src/TrueAudioVR/Kernels/*.h
/tan/build/cmake/linux
/tan/build/cmake/mac
/tan/build/cmake/mac-xcode
/tan/build/cmake/mac-gnumake
/tan/build/cmake/vs2015
/tan/build/cmake/vs2017
/thirdparty/portaudio/*
/thirdparty/OpenCL-Headers/*
/tan/tanlibrary/src/fftw-3.3.5/*
/tan/tanlibrary/src/fftw-3.3.5-dll64/*
.DS_Store
6 changes: 4 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[submodule "thirdparty/OpenCL-Headers"]
path = thirdparty/OpenCL-Headers
url = https://github.com/KhronosGroup/OpenCL-Headers.git

url = https://github.com/KhronosGroup/OpenCL-Headers
[submodule "amfOpen"]
path = amfOpen
url = https://github.com/amfdev/AMF
56 changes: 56 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Linux Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/tan/build/cmake/linux/cmake-RoomAcousticQT-bin/RoomAcousticsQT",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [
{
"name": "AMF_DLL_NAME",
"value": "/opt/amdgpu-pro/lib/x86_64-linux-gnu/libamfrt64.so"
}
],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
},
{
"name": "(lldb) Mac OSX Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/tan/build/cmake/mac-gnumake/cmake-RoomAcousticQT-bin/RoomAcousticsQT",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [
{
"name": "AMF_DLL_NAME",
"value": "still_absent.dylib"
}
],
"externalConsole": false,
"MIMode": "lldb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}
Binary file modified True Audio Next SDK Build Instructions.pdf
Binary file not shown.
1 change: 1 addition & 0 deletions amfOpen
Submodule amfOpen added at 9f426a
31 changes: 0 additions & 31 deletions amfOpen/LICENSE.txt

This file was deleted.

34 changes: 0 additions & 34 deletions amfOpen/README.md

This file was deleted.

1 change: 1 addition & 0 deletions build_test.jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gpuopen_tan_luxoft_pipeline()
58 changes: 32 additions & 26 deletions tan/build/cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,60 +16,66 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_SKIP_RULE_DEPENDENCY TRUE)

enable_language(CXX)
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG")
if(NOT WIN32)
if(APPLE)
#SET (CMAKE_CXX_COMPILER "/usr/bin/c++")
set(CMAKE_CXX_FLAGS_DEBUG "-Xpreprocessor -fopenmp -lomp")
set(CMAKE_CXX_FLAGS "-Xpreprocessor -fopenmp -lomp")
#set(CMAKE_SHARED_LINKER_FLAGS " -lomp" )
else()
set(CMAKE_CXX_FLAGS_DEBUG "-fopenmp")
set(CMAKE_CXX_FLAGS "-fopenmp")
endif()
endif()


if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Debug)
message("Build type was not set, Debug will be forced")
endif()

if(CMAKE_BUILD_TYPE MATCHES "Debug" OR CMAKE_BUILD_TYPE MATCHES "RelWithDebInfo")
message("Debug build type is set")
else()
message("Release build type is set")
endif()

# prepare compilation params
if(AMF_CORE_STATIC)
message("AMF will be built as a static library")

ADD_DEFINITIONS(-DAMF_CORE_STATIC)
endif()

if(AMF_HOME)
message("AMF_HOME is set to ${AMF_HOME}")
else()
set(AMF_HOME "../../../../../amf")
message("AMF_HOME is set to the default value: ${AMF_HOME}")
endif()

# name
project(TAN DESCRIPTION "TAN")

get_filename_component(ABSOLUTE_PATH "${PROJECT_SOURCE_DIR}/../../../" ABSOLUTE)
set(TAN_ROOT ${ABSOLUTE_PATH})
message("TAN_ROOT: ${TAN_ROOT}")

#libraries
add_subdirectory(../../tanlibrary/proj/cmake/amf cmake-amf-bin)
add_subdirectory(../../tanlibrary/proj/cmake/Graal cmake-Graal-bin)
add_subdirectory(../../tanlibrary/proj/cmake/Graal2 cmake-Graal2-bin)
add_subdirectory(../../tanlibrary/proj/cmake/clFFT cmake-clFFT-bin)
add_subdirectory(../../tanlibrary/proj/cmake/TAN cmake-TAN-bin)

#examples
add_subdirectory(../../samples/proj/cmake/GPUUtilities cmake-GPUUtilities-bin)
#add_subdirectory(../../samples/proj/cmake/Ambisonic1stOrderDecoder cmake-Ambisonic1stOrderDecoder-bin)
#add_subdirectory(../../samples/proj/cmake/Ambisonic1stOrderEncoder cmake-Ambisonic1stOrderEncoder-bin)
#add_subdirectory(../../samples/proj/cmake/Ambisonic2ndOrderEncoder cmake-Ambisonic2ndOrderEncoder-bin)
#add_subdirectory(../../samples/proj/cmake/AmbisonicVRDecoder cmake-AmbisonicVRDecoder-bin)
add_subdirectory(../../samples/proj/cmake/Ambisonic1stOrderDecoder cmake-Ambisonic1stOrderDecoder-bin)
add_subdirectory(../../samples/proj/cmake/Ambisonic1stOrderEncoder cmake-Ambisonic1stOrderEncoder-bin)
add_subdirectory(../../samples/proj/cmake/Ambisonic2ndOrderEncoder cmake-Ambisonic2ndOrderEncoder-bin)
add_subdirectory(../../samples/proj/cmake/AmbisonicVRDecoder cmake-AmbisonicVRDecoder-bin)
add_subdirectory(../../samples/proj/cmake/CLKernelPreprocessor cmake-CLKernelPreprocessor-bin)
add_subdirectory(../../samples/proj/cmake/FileToHeader cmake-FileToHeader-bin)
add_subdirectory(../../samples/proj/cmake/TrueAudioVR cmake-TrueAudioVR-bin)
add_subdirectory(../../samples/proj/cmake/RoomAcousticQT cmake-RoomAcousticQT-bin)

add_subdirectory(../../samples/proj/cmake/ReverbMixer cmake-ReverbMixer-bin)

if(WIN32)
#not implemented yet: add_subdirectory(../../samples/proj/cmake/OculusRoomTAN cmake-OculusRoomTAN-bin)
#migration to new player not yet done: add_subdirectory(../../samples/proj/cmake/RoomAcoustics cmake-RoomAcoustics-bin)
endif()

#libraries
add_subdirectory(../../tanlibrary/proj/cmake/amf cmake-amf-bin)
add_subdirectory(../../tanlibrary/proj/cmake/Graal cmake-Graal-bin)
add_subdirectory(../../tanlibrary/proj/cmake/Graal2 cmake-Graal2-bin)
add_subdirectory(../../tanlibrary/proj/cmake/clFFT cmake-clFFT-bin)
add_subdirectory(../../tanlibrary/proj/cmake/TAN cmake-TAN-bin)

#tests
add_subdirectory(../../tests/proj/cmake/TALibDopplerTest cmake-TALibDopplerTest-bin)
add_subdirectory(../../tests/proj/cmake/TALibTestConvolution cmake-TALibTestConvolution-bin)
add_subdirectory(../../tests/proj/cmake/TALibTestDynamicChannelConvolution cmake-TALibTestDynamicChannelConvolution-bin)
add_subdirectory(../../tests/proj/cmake/TALibVRTest cmake-TALibVRTest-bin)
#add_subdirectory(../../tests/proj/cmake/TanDeviceResourcesTest cmake-TanDeviceResourcesTest-bin)
add_subdirectory(../../tests/proj/cmake/TanDeviceResourcesTest cmake-TanDeviceResourcesTest-bin)
Empty file modified tan/build/cmake/build-linux.sh
100644 → 100755
Empty file.
Empty file modified tan/build/cmake/build-mac.sh
100644 → 100755
Empty file.
3 changes: 3 additions & 0 deletions tan/build/cmake/build-vs2017-cmake-debug.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SETLOCAL

cmake --build vs2017 --config Debug
3 changes: 3 additions & 0 deletions tan/build/cmake/build-vs2017-cmake-release.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SETLOCAL

cmake --build vs2017 --config Release
5 changes: 5 additions & 0 deletions tan/build/cmake/build-vs2017-msbuild-debug.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
SETLOCAL

CD vs2017

msbuild TAN.sln /p:Configuration=Debug /p:StopOnFirstFailure=true
5 changes: 5 additions & 0 deletions tan/build/cmake/build-vs2017-msbuild-release.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
SETLOCAL

CD vs2017

msbuild TAN.sln /p:Configuration=Release /p:StopOnFirstFailure=true
11 changes: 11 additions & 0 deletions tan/build/cmake/gatherDebugBinaries.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
mkdir bin
copy vs2017\cmake-RoomAcousticQT-bin\Debug bin
copy vs2017\cmake-TALibTestConvolution-bin\Debug bin
copy ..\..\tests\src\TALibTestConvolution\*.wav bin
copy ..\..\tests\src\TALibTestConvolution\*.bat bin
copy vs2017\cmake-RoomAcousticQT-bin\cmake-portaudio-bin\Debug bin
copy vs2017\cmake-TAN-bin\Debug bin
copy vs2017\cmake-TrueAudioVR-bin\Debug bin
copy vs2017\cmake-GPUUtilities-bin\Debug bin
copy ..\..\..\thirdparty\Qt\Qt5.9.9\5.9.9\msvc2017_64\bin\*.dll bin
copy ..\..\tanlibrary\src\fftw-3.3.5-dll64\libfftw3f-3.dll bin
11 changes: 11 additions & 0 deletions tan/build/cmake/gatherReleaseBinaries.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
mkdir bin
copy vs2017\cmake-RoomAcousticQT-bin\Release bin
copy vs2017\cmake-TALibTestConvolution-bin\Release bin
copy ..\..\tests\src\TALibTestConvolution\*.wav bin
copy ..\..\tests\src\TALibTestConvolution\*.bat bin
copy vs2017\cmake-RoomAcousticQT-bin\cmake-portaudio-bin\Release bin
copy vs2017\cmake-TAN-bin\Release bin
copy vs2017\cmake-TrueAudioVR-bin\Release bin
copy vs2017\cmake-GPUUtilities-bin\Release bin
copy ..\..\..\thirdparty\Qt\Qt5.9.9\5.9.9\msvc2017_64\bin\*.dll bin
copy ..\..\tanlibrary\src\fftw-3.3.5-dll64\libfftw3f-3.dll bin
7 changes: 6 additions & 1 deletion tan/build/cmake/gatherbinaries.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
mkdir bin
copy vs2015\cmake-RoomAcousticQT-bin\Debug bin
copy vs2015\cmake-TALibTestConvolution-bin\Debug bin
copy ..\..\tests\src\TALibTestConvolution\*.wav bin
copy ..\..\tests\src\TALibTestConvolution\*.bat bin
copy vs2015\cmake-RoomAcousticQT-bin\cmake-portaudio-bin\Debug bin
copy vs2015\cmake-TAN-bin\Debug bin
copy vs2015\cmake-TrueAudioVR-bin\Debug bin
copy ..\..\..\thirdparty\QT5.6\msvc2015_64\bin\*.dll bin
copy vs2015\cmake-GPUUtilities-bin\Debug bin
copy ..\..\..\thirdparty\QT5.6\5.6.3\msvc2015_64\bin\*.dll bin
copy ..\..\..\thirdparty\QT5.6\QT5.6.3\msvc2015_64\bin\*.dll bin
copy ..\..\tanlibrary\src\fftw-3.3.5-dll64\libfftw3f-3.dll bin
10 changes: 10 additions & 0 deletions tan/build/cmake/generate-linux-release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#/bin/sh

rm -rf ./linux
mkdir linux
cd linux
#cmake .. -DCMAKE_PREFIX_PATH="/opt/Qt/5.6.3/gcc_64" -DOpenCL_INCLUDE_DIR="/opt/rocm/opencl/include" -DOpenCL_LIBRARY="/opt/rocm/opencl/lib/x86_64/libOpenCL.so" -DPortAudio_INCLUDE_DIRS="../../../../../thirdparty/portaudio/include" -DPortAudio_LIBRARY="~/TAN/thirdparty/portaudio/lib/.libs/libportaudio.so"
#cmake .. -DCMAKE_PREFIX_PATH="/opt/Qt5.6.3/5.6.3/gcc_64" -DOpenCL_INCLUDE_DIR="../../../../thirdparty/OpenCL-Headers" -DOpenCL_LIBRARY="~/amd/amdgpu-pro/lib/x86_64-linux-gnu/libOpenCL.so.1" -DPortAudio_DIR="../../../../../thirdparty/portaudio" -DDEFINE_AMD_OPENCL_EXTENSION=1
#cmake .. -DCMAKE_PREFIX_PATH="../../../tan.thirdparty/QT5.6/5.6.3/gcc_64" -DOpenCL_INCLUDE_DIR="../../../../thirdparty/OpenCL-Headers" -DOpenCL_LIBRARY="/opt/rocm/opencl/lib/x86_64/libOpenCL.so" -DPortAudio_DIR="../../../../../thirdparty/portaudio" -DDEFINE_AMD_OPENCL_EXTENSION=1
cmake -DCMAKE_BUILD_TYPE=Release .. -DCMAKE_PREFIX_PATH="/opt/Qt5.6.3/5.6.3/gcc_64" -DOpenCL_INCLUDE_DIR="../../../../thirdparty/OpenCL-Headers" -DOpenCL_LIBRARY="/opt/rocm/opencl/lib/x86_64/libOpenCL.so" -DPortAudio_DIR="../../../../../thirdparty/portaudio" -DDEFINE_AMD_OPENCL_EXTENSION=1
cd ..
2 changes: 1 addition & 1 deletion tan/build/cmake/generate-linux.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ cd linux
#cmake .. -DCMAKE_PREFIX_PATH="/opt/Qt/5.6.3/gcc_64" -DOpenCL_INCLUDE_DIR="/opt/rocm/opencl/include" -DOpenCL_LIBRARY="/opt/rocm/opencl/lib/x86_64/libOpenCL.so" -DPortAudio_INCLUDE_DIRS="../../../../../thirdparty/portaudio/include" -DPortAudio_LIBRARY="~/TAN/thirdparty/portaudio/lib/.libs/libportaudio.so"
#cmake .. -DCMAKE_PREFIX_PATH="/opt/Qt5.6.3/5.6.3/gcc_64" -DOpenCL_INCLUDE_DIR="../../../../thirdparty/OpenCL-Headers" -DOpenCL_LIBRARY="~/amd/amdgpu-pro/lib/x86_64-linux-gnu/libOpenCL.so.1" -DPortAudio_DIR="../../../../../thirdparty/portaudio" -DDEFINE_AMD_OPENCL_EXTENSION=1
#cmake .. -DCMAKE_PREFIX_PATH="../../../tan.thirdparty/QT5.6/5.6.3/gcc_64" -DOpenCL_INCLUDE_DIR="../../../../thirdparty/OpenCL-Headers" -DOpenCL_LIBRARY="/opt/rocm/opencl/lib/x86_64/libOpenCL.so" -DPortAudio_DIR="../../../../../thirdparty/portaudio" -DDEFINE_AMD_OPENCL_EXTENSION=1
cmake .. -DCMAKE_PREFIX_PATH="~/TAN-CPB/tan/thirdparty/QT5.6/5.6.3/gcc_64" -DOpenCL_INCLUDE_DIR="../../../../thirdparty/OpenCL-Headers" -DOpenCL_LIBRARY="/opt/rocm/opencl/lib/x86_64/libOpenCL.so" -DPortAudio_DIR="../../../../../thirdparty/portaudio" -DDEFINE_AMD_OPENCL_EXTENSION=1
cmake .. -DCMAKE_PREFIX_PATH="/opt/Qt5.6.3/5.6.3/gcc_64" -DOpenCL_INCLUDE_DIR="../../../../thirdparty/OpenCL-Headers" -DOpenCL_LIBRARY="/opt/rocm/opencl/lib/x86_64/libOpenCL.so" -DPortAudio_DIR="../../../../../thirdparty/portaudio" -DDEFINE_AMD_OPENCL_EXTENSION=1
cd ..
8 changes: 8 additions & 0 deletions tan/build/cmake/generate-mac-release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#/bin/sh

rm -rf ./mac-gnumake
mkdir mac-gnumake
cd mac-gnumake
#cmake .. -DCMAKE_PREFIX_PATH="/Applications/Qt5.6.3/5.6.3/clang_64" -DOpenCL_INCLUDE_DIR="../../../../thirdparty/OpenCL-Headers" -DOpenCL_LIBRARY="/System/Library/Frameworks/OpenCL.framework" -DPortAudio_DIR="../../../../../thirdparty/portaudio" -DDEFINE_AMD_OPENCL_EXTENSION=1
cmake -DCMAKE_BUILD_TYPE=Release .. -DCMAKE_PREFIX_PATH="/Applications/Qt5.6.3/5.6.3/clang_64" -DOpenCL_INCLUDE_DIR="../../../../thirdparty/OpenCL-Headers" -DPortAudio_DIR="../../../../../thirdparty/portaudio" -DDEFINE_AMD_OPENCL_EXTENSION=1
cd ..
2 changes: 1 addition & 1 deletion tan/build/cmake/generate-mac.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ rm -rf ./mac-gnumake
mkdir mac-gnumake
cd mac-gnumake
#cmake .. -DCMAKE_PREFIX_PATH="/Applications/Qt5.6.3/5.6.3/clang_64" -DOpenCL_INCLUDE_DIR="../../../../thirdparty/OpenCL-Headers" -DOpenCL_LIBRARY="/System/Library/Frameworks/OpenCL.framework" -DPortAudio_DIR="../../../../../thirdparty/portaudio" -DDEFINE_AMD_OPENCL_EXTENSION=1
cmake .. -DCMAKE_PREFIX_PATH="/Applications/Qt5.6.3/5.6.3/clang_64" -DOpenCL_INCLUDE_DIR="../../../../thirdparty/OpenCL-Headers" -DPortAudio_DIR="../../../../../thirdparty/portaudio" -DDEFINE_AMD_OPENCL_EXTENSION=1
cmake .. -DCMAKE_PREFIX_PATH="/Applications/Qt5.6.3/5.6.3/clang_64" -DOpenCL_INCLUDE_DIR="../../../../thirdparty/OpenCL-Headers" -DPortAudio_DIR="../../../../../thirdparty/portaudio" -DDEFINE_AMD_OPENCL_EXTENSION=1 -DAMF_HOME="../../../../../amfOpen/amf" -DAMF_CORE_STATIC=1
cd ..
4 changes: 2 additions & 2 deletions tan/build/cmake/generate-vs2015.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ RMDIR /S /Q vs2015
MKDIR vs2015
CD vs2015

SET CMAKE_PREFIX_PATH=..\..\..\tan\thirdparty\QT5.6\5.6.3\msvc2015_64
cmake .. -G "Visual Studio 14 2015" -A x64 -DOpenCL_INCLUDE_DIR=..\..\..\tan\thirdparty\OpenCL-Headers -DPortAudio_DIR=..\..\..\tan\thirdparty\portaudio -DDEFINE_AMD_OPENCL_EXTENSION=1
SET CMAKE_PREFIX_PATH=..\..\..\..\thirdparty\Qt\Qt5.9.9\5.9.9\msvc2017_64\lib\cmake\Qt5Widgets
cmake .. -G "Visual Studio 14 2015" -A x64 -DOpenCL_INCLUDE_DIR=..\..\..\..\thirdparty\OpenCL-Headers -DPortAudio_DIR=..\..\..\..\..\thirdparty\portaudio -DIPP_DIR="C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2020.0.166\windows\ipp" -DDEFINE_AMD_OPENCL_EXTENSION=1
8 changes: 8 additions & 0 deletions tan/build/cmake/generate-vs2017-release.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
SETLOCAL

RMDIR /S /Q vs2017
MKDIR vs2017
CD vs2017

SET CMAKE_PREFIX_PATH=..\..\..\..\thirdparty\Qt\Qt5.9.9\5.9.9\msvc2017_64\lib\cmake\Qt5Widgets
cmake -DCMAKE_BUILD_TYPE=Release .. -G "Visual Studio 15 2017" -A x64 -DOpenCL_INCLUDE_DIR=..\..\..\..\thirdparty\OpenCL-Headers -DPortAudio_DIR=..\..\..\..\..\thirdparty\portaudio -DIPP_DIR="C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2020.0.166\windows\ipp" -DDEFINE_AMD_OPENCL_EXTENSION=1
4 changes: 2 additions & 2 deletions tan/build/cmake/generate-vs2017.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ RMDIR /S /Q vs2017
MKDIR vs2017
CD vs2017

SET CMAKE_PREFIX_PATH=c:\Qt\Qt5.6.3\5.6.3\msvc2015_64
cmake .. -G "Visual Studio 15 2017" -A x64 -DOpenCL_INCLUDE_DIR="C:\Program Files (x86)\OCL_SDK_Light\include" -DOpenCL_LIBRARY="C:\Program Files (x86)\OCL_SDK_Light\lib\x86_64\OpenCL.lib" -DPortAudio_DIR="../../../../../thirdparty/portaudio"
SET CMAKE_PREFIX_PATH=..\..\..\..\thirdparty\Qt\Qt5.9.9\5.9.9\msvc2017_64\lib\cmake\Qt5Widgets
cmake .. -G "Visual Studio 15 2017" -A x64 -DOpenCL_INCLUDE_DIR=..\..\..\..\thirdparty\OpenCL-Headers -DPortAudio_DIR=..\..\..\..\..\thirdparty\portaudio -DIPP_DIR="C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2020.0.166\windows\ipp" -DDEFINE_AMD_OPENCL_EXTENSION=1
Loading