Skip to content
This repository was archived by the owner on Apr 30, 2020. It is now read-only.

Commit 8806bd3

Browse files
Build UserBuild User
authored andcommitted
Initial commit
0 parents  commit 8806bd3

4,587 files changed

Lines changed: 1166783 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 216 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,216 @@
1+
## Ignore Visual Studio temporary files, build results, and
2+
## files generated by popular Visual Studio add-ons.
3+
4+
# User-specific files
5+
*.suo
6+
*.user
7+
*.userosscache
8+
*.sln.docstates
9+
10+
# User-specific files (MonoDevelop/Xamarin Studio)
11+
*.userprefs
12+
13+
# Build results
14+
[Dd]ebug/
15+
!Common/Lib/**/[Dd]ebug
16+
[Dd]ebugPublic/
17+
[Rr]elease/
18+
!Common/Lib/**/[Rr]elease
19+
[Rr]eleases/
20+
bld/
21+
[Bb]in/
22+
!Common/Lib/**/[Bb]in
23+
[Oo]bj/
24+
25+
# Visual Studo 2015 cache/options directory
26+
.vs/
27+
28+
# MSTest test Results
29+
[Tt]est[Rr]esult*/
30+
[Bb]uild[Ll]og.*
31+
32+
# NUNIT
33+
*.VisualState.xml
34+
TestResult.xml
35+
36+
# Build Results of an ATL Project
37+
[Dd]ebugPS/
38+
[Rr]eleasePS/
39+
dlldata.c
40+
41+
*_i.c
42+
*_p.c
43+
*_i.h
44+
*.ilk
45+
*.meta
46+
*.obj
47+
!Common/Lib/**/*.obj
48+
*.pch
49+
*.pdb
50+
!Common/Lib/**/*.pdb
51+
*.pgc
52+
*.pgd
53+
*.rsp
54+
*.sbr
55+
*.tlb
56+
*.tli
57+
*.tlh
58+
*.tmp
59+
*.tmp_proj
60+
*.log
61+
*.vspscc
62+
*.vssscc
63+
.builds
64+
*.pidb
65+
*.svclog
66+
*.scc
67+
68+
# Chutzpah Test files
69+
_Chutzpah*
70+
71+
# Visual C++ cache files
72+
ipch/
73+
*.aps
74+
*.ncb
75+
*.opensdf
76+
*.sdf
77+
*.cachefile
78+
79+
# Visual Studio profiler
80+
*.psess
81+
*.vsp
82+
*.vspx
83+
84+
# TFS 2012 Local Workspace
85+
$tf/
86+
87+
# Guidance Automation Toolkit
88+
*.gpState
89+
90+
# ReSharper is a .NET coding add-in
91+
_ReSharper*/
92+
*.[Rr]e[Ss]harper
93+
*.DotSettings.user
94+
95+
# JustCode is a .NET coding addin-in
96+
.JustCode
97+
98+
# TeamCity is a build add-in
99+
_TeamCity*
100+
101+
# DotCover is a Code Coverage Tool
102+
*.dotCover
103+
104+
# NCrunch
105+
_NCrunch_*
106+
.*crunch*.local.xml
107+
108+
# MightyMoose
109+
*.mm.*
110+
AutoTest.Net/
111+
112+
# Web workbench (sass)
113+
.sass-cache/
114+
115+
# Installshield output folder
116+
[Ee]xpress/
117+
118+
# DocProject is a documentation generator add-in
119+
DocProject/buildhelp/
120+
DocProject/Help/*.HxT
121+
DocProject/Help/*.HxC
122+
DocProject/Help/*.hhc
123+
DocProject/Help/*.hhk
124+
DocProject/Help/*.hhp
125+
DocProject/Help/Html2
126+
DocProject/Help/html
127+
128+
# Click-Once directory
129+
publish/
130+
131+
# Publish Web Output
132+
*.[Pp]ublish.xml
133+
*.azurePubxml
134+
# TODO: Comment the next line if you want to checkin your web deploy settings
135+
# but database connection strings (with potential passwords) will be unencrypted
136+
*.pubxml
137+
*.publishproj
138+
139+
# NuGet Packages
140+
*.nupkg
141+
# The packages folder can be ignored because of Package Restore
142+
**/packages/*
143+
# except build/, which is used as an MSBuild target.
144+
!**/packages/build/
145+
# Uncomment if necessary however generally it will be regenerated when needed
146+
#!**/packages/repositories.config
147+
148+
# Windows Azure Build Output
149+
csx/
150+
*.build.csdef
151+
152+
# Windows Store app package directory
153+
AppPackages/
154+
155+
# Others
156+
*.[Cc]ache
157+
ClientBin/
158+
[Ss]tyle[Cc]op.*
159+
~$*
160+
*~
161+
*.dbmdl
162+
*.dbproj.schemaview
163+
*.pfx
164+
*.publishsettings
165+
node_modules/
166+
bower_components/
167+
168+
# RIA/Silverlight projects
169+
Generated_Code/
170+
171+
# Backup & report files from converting an old project file
172+
# to a newer Visual Studio version. Backup files are not needed,
173+
# because we have git ;-)
174+
_UpgradeReport_Files/
175+
Backup*/
176+
UpgradeLog*.XML
177+
UpgradeLog*.htm
178+
179+
# SQL Server files
180+
*.mdf
181+
*.ldf
182+
183+
# Business Intelligence projects
184+
*.rdl.data
185+
*.bim.layout
186+
*.bim_*.settings
187+
188+
# Microsoft Fakes
189+
FakesAssemblies/
190+
191+
# Node.js Tools for Visual Studio
192+
.ntvs_analysis.dat
193+
194+
# Visual Studio 6 build log
195+
*.plg
196+
197+
# Visual Studio 6 workspace options file
198+
*.opt
199+
/.project
200+
201+
# CodeXl VSPackage temp files
202+
!CodeXL/AMDTApplicationFramework/tmp/
203+
!CodeXL/CodeXLVSPackage/CodeXLVSPackage/CodeXLVSPackageVS14VSIX/ApplicationIcon.ico
204+
!CodeXL/CodeXLVSPackage/CodeXLVSPackage/CodeXLVSPackageVS14VSIX/CodeXL_App_Settings.txt
205+
!CodeXL/CodeXLVSPackage/CodeXLVSPackage/Debug-CodeXLVSPackageVS14/
206+
!CodeXL/CodeXLVSPackage/CodeXLVSPackage/tmp/
207+
!CodeXL/CodeXLVSPackage/CodeXL_App_Settings.txt
208+
!CodeXL/Components/AMDTSharedProfiling/tmp/
209+
!CodeXL/Components/CpuProfiling/AMDTCpuProfiling/tmp/
210+
!CodeXL/Components/GpuDebugging/AMDTGpuDebugging/tmp/
211+
!CodeXL/Components/GpuDebugging/AMDTGpuDebuggingComponents/tmp/
212+
!CodeXL/Components/GpuProfiling/AMDTGpuProfiling/GeneratedFiles/
213+
!CodeXL/Components/GpuProfiling/AMDTGpuProfiling/tmp/
214+
!CodeXL/Components/PowerProfiling/AMDTPowerProfiling/tmp/
215+
!CodeXL/Components/ShaderAnalyzer/AMDTKernelAnalyzer/tmp/
216+

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "Common"]
2+
path = Common
3+
url = https://github.com/GPUOpen-Tools/cxl-common.git

BUILD.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
CodeXL build instructions
2+
===========================
3+
## Windows
4+
-------
5+
#### Installations
6+
* Latest AMD Radeon Software from http://support.amd.com/en-us/download
7+
* Microsoft Visual Studio 2015 Community Edition or higher + Update 1
8+
* Windows 10 SDK Version 10.0.10586.0 from https://developer.microsoft.com/en-US/windows/downloads/windows-10-sdk
9+
* JDK from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
10+
* CodeXL requires the Java JDK for CPU Profiling support of Java applications
11+
12+
13+
#### Building CodeXL
14+
* Open the following solution in Visual Studio: CodeXL\AllProjectsBuild\CodeXL-AllProjects.sln
15+
* Build 64 bit configuration
16+
* Build 32 bit configuration
17+
18+
#### CodeXL property sheets
19+
* Most of project configurations are defined in dedicated property sheets
20+
* In order to alter windows SDK installation directory use "Global-WindowsSDK" property sheet and change user macro "WindowsSDKDir"
21+
22+
## Linux
23+
-------
24+
CodeXL uses the SCons build system on Linux.
25+
#### One time setup:
26+
* sudo apt-get install gcc-multilib g++-multilib
27+
* sudo apt-get install gcc-4.9-multilib g++-4.9-multilib (added for Ubuntu 15.10 or above)
28+
* sudo apt-get install libglu1-mesa-dev mesa-common-dev libgtk2.0-dev
29+
* sudo apt-get install zlib1g-dev libx11-dev:i386
30+
* sudo apt-get install scons
31+
32+
#### Building on CENTOS 6.X
33+
Install compiler 4.7.2
34+
* sudo wget http://people.centos.org/tru/devtools-1.1/devtools-1.1.repo -P /etc/yum.repos.d
35+
* sudo sh -c 'echo "enabled=1" >> /etc/yum.repos.d/devtools-1.1.repo'
36+
* sudo yum install devtoolset-1.1
37+
* wget http://people.centos.org/tru/devtools-1.1/6/i386/RPMS/devtoolset-1.1-libstdc++-devel-4.7.2-5.el6.i686.rpm
38+
* sudo yum install devtoolset-1.1-libstdc++-devel-4.7.2-5.el6.i686.rpm
39+
* sudo ln -s /opt/centos/devtoolset-1.1/root/usr/bin/* /usr/local/bin/
40+
* hash -r
41+
* gcc --version (verify that version 4.7.2 is displayed)
42+
Install zlib
43+
* yum install zlib-devel
44+
45+
Install glibc
46+
* yum -y install glibc-devel.i686 glibc-devel
47+
48+
#### Building the HSA Profiler
49+
* In order to build the HSA/ROCR profiler, the ROCR packages need to be installed (so that the header files are available at build time).
50+
* The ROCR packages are available at https://github.com/RadeonOpenCompute/ROCR-Runtime
51+
52+
#### Building CodeXL
53+
* CD to local copy of /CodeXL/Components/GpuProfiling/Build
54+
* Run ./backend_build.sh
55+
* CD to local copy of /CodeXL/Util/linux/
56+
* Run ./buildCodeXLFullLinuxProjects
57+
58+
#### Build Switches
59+
* all SCons general switches, like -c for clean , more info at http://scons.org/doc/HTML/scons-man.html
60+
* –j specify the number of concurrent jobs (-j6).
61+
* CXL_build=[debug/release] - build type
62+
* CXL_build_verbose=1 - verbose output
63+
* When executing the backend_build.sh script, the following switches are supported:
64+
* __debug__: performs a debug build
65+
* __skip-32bitbuild__: skips building the 32-bit binaries
66+
* __skip-oclprofiler__: skips building the OpenCL profiler binaries
67+
* __skip-hsaprofiler__: skips building the HSA profiler binaries. If building on a system where you don't have HSA/ROCR header files, use this switch to avoid errors due to missing header files
68+
* __hsadir <dir>__: by default, when building the HSA Profiler binaries, the build scripts will look for the HSA/ROCR headers under /opt/rocm/hsa. You can override this location using the "hsadir" switch.
69+
* __quick__ or __incremental__: performs an incremental build (as opposed to a from-scratch build)
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 11.00
3+
# Visual Studio 2010
4+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AMDTApplicationFramework", "AMDTApplicationFramework.vcxproj", "{1C20A760-CEE0-4676-9976-DD0188FFD2C8}"
5+
EndProject
6+
Global
7+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
8+
Debug|Win32 = Debug|Win32
9+
Debug|x64 = Debug|x64
10+
Release|Win32 = Release|Win32
11+
Release|x64 = Release|x64
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{1C20A760-CEE0-4676-9976-DD0188FFD2C8}.Debug|Win32.ActiveCfg = Debug|Win32
15+
{1C20A760-CEE0-4676-9976-DD0188FFD2C8}.Debug|Win32.Build.0 = Debug|Win32
16+
{1C20A760-CEE0-4676-9976-DD0188FFD2C8}.Debug|x64.ActiveCfg = Debug|Win32
17+
{1C20A760-CEE0-4676-9976-DD0188FFD2C8}.Release|Win32.ActiveCfg = Release|Win32
18+
{1C20A760-CEE0-4676-9976-DD0188FFD2C8}.Release|Win32.Build.0 = Release|Win32
19+
{1C20A760-CEE0-4676-9976-DD0188FFD2C8}.Release|x64.ActiveCfg = Release|Win32
20+
EndGlobalSection
21+
GlobalSection(SolutionProperties) = preSolution
22+
HideSolutionNode = FALSE
23+
EndGlobalSection
24+
EndGlobal

0 commit comments

Comments
 (0)