adding this to allow creation of package with version independent from
API version used in shared library name.
Change-Id: I161755eb7e7680d02d018bc6531be96a1d97153b
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
GMM_RESOURCE_FLAG::Info.ApertureOnly to GMM_RESOURCE_FLAG::Info.NonLocalOnly
Clients should use NonLocalOnly flag, ApertureOnly will be removed once
all clients switch to using new flag
Change-Id: I387a44dae87b111bb6aea8af3638909e8d6b92d3
Description:
Open source using different Valign values then closed source.
As per specifications valign value should not be zero.
Increment DLL version.
Change-Id: I966d4c81b737e622a0a7d56dc051084626648f32
Risk: Low
Feature Impact: GMM LIB DLL
Description: This changes are for fixing the memory leak casued for not
freeing GMM ProcessSingletonCOntext.
Platforms:All
Change-Id: Ia315db53be5378c04c83fa005f02958fa8a047ea
we should use "intel-gmmlib(=<version>)" without space before (
Change-Id: Ie62e5df7b44e995d280c0fb132cd0ae7b1b3a680
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
For rpm packages we should use <...>_REQUIRES instread of
<...>_DEPENDS.
Change-Id: I80f0caa069fbe4a7e2945dda619b4586a79df086
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
Bump up Major Version as new interface is added
Change-Id: I49081391db15652d37a1c055510407b830d0777c
Signed-off-by: drprajap <dimpalben.r.prajapati@intel.com>
Fixes: #35
spdlog is needed internally for loggin and debug purpose,
no need to export it as part of public interface
Change-Id: Ide214e6a8da6661274d495432caf98d58b87ac5c
Signed-off-by: drprajap <dimpalben.r.prajapati@intel.com>
Fixes: #28
By convention on Linux if library is going to be linked against it should have:
* real name, which is usually libigdgmm.so.x.y.z, x.y.z is a library version
* soname which is libigdgmm.so.x, usually that's a symbolic link to real name
* linker name which is libigdgmm.so, usually that's a symbolic link to soname
Building library without the above convention is applicable only if library is
supposed to be dlopen(), i.e. for drivers and similar things.
Since gmmlib will be linked against rahter than dlopen-ed it should qualify to
the above Linux convention. This fix makes exactly that. CMake will automatically
create required symbolc links (soname and linker name).
This commit also bumps up the version of gmmlib.
Change-Id: I55f4bc30ba4e556a5cf6ac61609aa70939a9bdfc
Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
Adding two Exported APIs in DLL - GmmInit and GmmDestroy.
GmmInit initializes singleton global context and ClientContext.
This avoid the need for clients to fill up function table.
Change-Id: I3bab29d2c10fd4d06cf78e1f33c9479d536477da
Signed-off-by: drprajap <dimpalben.r.prajapati@intel.com>
[CP] dynamic gmm header file change copy from CL793947
Because certain ResourceInfo exported APIs are inlined,
GmmLib is accidently exposing internal functions/class members.
This is causing build issues with unresolved symbols when clients switch to dynamic linking.
Fix is to use ClientContext exported APIs for UMD clients.
Change-Id: I58db29d2f31c3f2586de80369f5ed085e14f06be
Signed-off-by: drprajap <dimpalben.r.prajapati@intel.com>
Avoid inlining of exported member functions in Client’s code in DLL mode, this is to eliminate exposing internal members in exported APIs causing linker issues.
Change-Id: Ia982002eb43f4816099f3de181f11bb1e25e5872
Signed-off-by: johnbash <johnbasha.shaik@intel.com>
define GMM_ENTRY_NAME and DLL name based on 32/64 bit OS check
add DLL name for linux clients (neo) - could be temporary until
clients use generated header
Change-Id: I4e1438cb3989ed6efcd4859e4676150e747ddd84
Signed-off-by: drprajap <dimpalben.r.prajapati@intel.com>
- remove redundant gmm from file and package name
- specify gmmlib-devel package file name
- use proper architecture for .deb package
Change-Id: I0d3f124fc677edb04530106fd0a6f24d7cb92a3d
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
Commit a5f2391 hard-codes
install paths and does not honor CMAKE_INSTALL_PREFIX
setting.
GNUInstallDirs uses GNU Coding Standards and properly determines
the correct install paths based on distro. GNUInstallDirs
also honors the CMAKE_INSTALL_PREFIX correctly. Users can
manipulate the install prefix by defining the builtin and standard
CMAKE_INSTALL_PREFIX variable during cmake configuration (i.e.
-DCMAKE_INSTALL_PREFIX=<prefix>).
Change-Id: I2090564acfd618345ca98940548654fa86baebee
- Add make install for shared and static library
- package public interface headers
- Add support for pkg-config via igdgmm.pc config file
Change-Id: I80f23dac0511b456de6d8e41827436be8587ee28
On x86 version, Due to C-mangling done by the compilier, macro definition used for GMM exported entry level function is modified to add _and@4
Change-Id: I83476775e02e74b584763c3257639456ddba7fe8