Skip to content
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

Don't hardcode install paths #1

Closed
uartie opened this issue Dec 1, 2017 · 1 comment
Closed

Don't hardcode install paths #1

uartie opened this issue Dec 1, 2017 · 1 comment

Comments

@uartie
Copy link
Contributor

uartie commented Dec 1, 2017

Currently, various cmake install targets are installed into hardcoded paths that only follow Ubuntu's directory layout. This burdens developers and packagers on other Linux distros and also makes it impossible to override install destination/prefix. Often, developers prefer to isolate installs into custom locations for various reasons, too.

Instead of hardcoded paths, the install targets should use the GNU standard installation directories. This allows for developers to override specific install paths (e.g. -DCMAKE_INSTALL_LIBDIR=<somedir>). Also, the developer could set -DCMAKE_INSTALL_PREFIX=<somedir> to customize the prefix for all target types.

https://cmake.org/cmake/help/v3.5/module/GNUInstallDirs.html

uartie added a commit to uartie/media-driver that referenced this issue Dec 1, 2017
Use GNUInstallDirs to determine where to install
artifacts.

Fixes intel#1

Signed-off-by: U. Artie Eoff <[email protected]>
@oliver-sang
Copy link
Contributor

thanks for reporting this issue and thanks for the PR. I ran into some problem while trying your PR which I added comments in PR. Could you help? Thanks

uartie added a commit to uartie/media-driver that referenced this issue Dec 4, 2017
Use GNUInstallDirs to determine where to install
artifacts.

Fixes intel#1

Signed-off-by: U. Artie Eoff <[email protected]>
uartie added a commit to uartie/media-driver that referenced this issue Dec 4, 2017
Use GNUInstallDirs to determine where to install
artifacts.

Fixes intel#1

Signed-off-by: U. Artie Eoff <[email protected]>
uartie added a commit to uartie/media-driver that referenced this issue Dec 7, 2017
Use GNUInstallDirs to determine where to install
artifacts.

Fixes intel#1

Signed-off-by: U. Artie Eoff <[email protected]>
maksenox added a commit to maksenox/media-driver that referenced this issue Apr 24, 2019
Two concurrent DdiMedia_SyncSurface function calls read and
write the same data when the second frame uses the first frame
as a reference frame.
Enqueue frames order:
  Frame #0
  Frame intel#1 (uses #0 as a reference)
Threads release order:
  Thread intel#1 (waits for Frame intel#1)
  Thread #0 (waits for Frame #0)
Resolution is lock with the mutex the problem source code
(read and update StatusReport), so only one thread writes
the data, the second thread is waiting.
maksenox added a commit to maksenox/media-driver that referenced this issue Apr 30, 2019
Two concurrent DdiMedia_SyncSurface function calls read and
write the same data when the second frame uses the first frame
as a reference frame.
Enqueue frames order:
  Frame #0
  Frame intel#1 (uses #0 as a reference)
Threads release order:
  Thread intel#1 (waits for Frame intel#1)
  Thread #0 (waits for Frame #0)
Resolution is lock with the mutex the problem source code
(read and update StatusReport), so only one thread writes
the data, the second thread is waiting.
maksenox added a commit to maksenox/media-driver that referenced this issue May 8, 2019
Two concurrent DdiMedia_SyncSurface function calls read and
write the same data when the second frame uses the first frame
as a reference frame.
Enqueue frames order:
  Frame #0
  Frame intel#1 (uses #0 as a reference)
Threads release order:
  Thread intel#1 (waits for Frame intel#1)
  Thread #0 (waits for Frame #0)
Resolution is lock with the mutex the problem source code
(read and update StatusReport), so only one thread writes
the data, the second thread is waiting.
intel-mediadev pushed a commit that referenced this issue May 27, 2019
Two concurrent DdiMedia_SyncSurface function calls read and
write the same data when the second frame uses the first frame
as a reference frame.
Enqueue frames order:
  Frame #0
  Frame #1 (uses #0 as a reference)
Threads release order:
  Thread #1 (waits for Frame #1)
  Thread #0 (waits for Frame #0)
Resolution is lock with the mutex the problem source code
(read and update StatusReport), so only one thread writes
the data, the second thread is waiting.
intel-mediadev pushed a commit that referenced this issue Oct 29, 2019
Change-Id: Ibaffb10cfc10ca7128e241804f2281323202fe13
intel-mediadev pushed a commit that referenced this issue Feb 11, 2020
mhw changes #1

Change-Id: I5c6243ee48aa608531b2c1e966308868747dad88
intel-mediadev pushed a commit that referenced this issue Feb 11, 2020
SVN Backmerge - Encoder codechal changes #1

Change-Id: I67188ff41e483925c630f414eeb2dd23078dd7ce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants