Skip to content

[Buildbot] New environment config way #2302

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
13 changes: 13 additions & 0 deletions buildbot/dependency.conf
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,16 @@ fpga_driver_win=2020.10.7.0.15
# NVidia CUDA driver
# TODO provide URL for CUDA driver
nvidia_gpu_driver_lin=435.21

[DEPS ROOT]
ocl_cpu_root={DEPS_ROOT}/opencl/runtime/linux/oclcpu
ocl_gpu_root={DEPS_ROOT}/opencl/runtime/linux/oclgpu
fpga_root={ARCHIVE_ROOT}/comp/oclfpga/linux
ocl_fpga_emu_root={DEPS_ROOT}/opencl/runtime/linux/oclfpgaemu
tbb_root={DEPS_ROOT}/tbb/lin

ocl_cpu_root_win={DEPS_ROOT}/opencl/runtime/win/oclcpu
ocl_gpu_root_win=
fpga_root_win={ARCHIVE_ROOT}/comp/oclfpga/win
ocl_fpga_emu_root_win={DEPS_ROOT}/opencl/runtime/win/oclfpgaemu
tbb_root_win={DEPS_ROOT}/tbb/win
26 changes: 26 additions & 0 deletions buildbot/linux.vrd
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# For TBB
:eadb LD_LIBRARY_PATH={TBBROOT}/{TBBVER}/lib/intel64/gcc4.8

# For CPU
:eadb LD_LIBRARY_PATH={OCLCPUROOT}/{OCLCPUVER}/intel64_lin
:eadb OCL_ICD_FILENAMES={OCLCPUROOT}/{OCLCPUVER}/intel64_lin/libintelocl.so

# For GPU
:eade LD_LIBRARY_PATH={OCLGPUROOT}/{OCLGPUVER}
:eade PATH={OCLGPUROOT}/{OCLGPUVER}
:eade OCL_ICD_FILENAMES={OCLGPUROOT}/{OCLGPUVER}/libigdrcl.so

# For FPGA
:eadb PATH={OCLFPGAROOT}/{OCLFPGAVER}/build/bin

# For FPGA EMU
:eadb LD_LIBRARY_PATH={OCLFPGAEMUROOT}/{OCLFPGAEMUVER}
:eadb LD_LIBRARY_PATH={OCLFPGAEMUROOT}/{OCLFPGAEMUVER}/intel64_lin
:eadb PATH={OCLFPGAEMUROOT}/{OCLFPGAEMUVER}/bin
:eadb OCL_ICD_FILENAMES={OCLFPGAEMUROOT}/{OCLFPGAEMUVER}/libintelocl_emu.so

# For Compiler
:eadb PATH={COMP_ROOT}/bin
:eadb LD_LIBRARY_PATH={COMP_ROOT}/lib
:eadb PATH={COMP_ROOT}/install/bin
:eadb LD_LIBRARY_PATH={COMP_ROOT}/install/lib
23 changes: 23 additions & 0 deletions buildbot/windows.vrd
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# For TBB
:eadb PATH={TBBROOT}/{TBBVER}/redist/intel64/vc14
:eadb LIB={TBBROOT}/{TBBVER}/lib/intel64/vc14
:eadb INCLUDE={TBBROOT}/{TBBVER}/include
:eadb CPATH={TBBROOT}/{TBBVER}/include

# For CPU
:eadb PATH={OCLCPUROOT}/{OCLCPUVER}/intel64_win
:eadb OCL_ICD_FILENAMES={OCLCPUROOT}/{OCLCPUVER}/intel64_win/intelocl64.dll

# For FPGA
:eadb PATH={OCLFPGAROOT}/{OCLFPGAVER}/build/bin

# For FPGA EMU
:eadb PATH={OCLFPGAEMUROOT}/{OCLFPGAEMUVER}/bin
:eadb PATH={OCLFPGAEMUROOT}/{OCLFPGAEMUVER}/intel64_win
:eadb OCL_ICD_FILENAMES={OCLFPGAEMUROOT}/{OCLFPGAEMUVER}/intelocl64_emu.dll

# For Compiler
:eadb PATH={COMP_ROOT}/bin
:eadb PATH={COMP_ROOT}/lib
:eadb PATH={COMP_ROOT}/install/bin
:eadb PATH={COMP_ROOT}/install/lib