Skip to content

Commit d9d5d79

Browse files
committed
Update project name
Change project name so that it aligns with other oneAPI components' project names which are abbreviations. This also allows to make installation paths compliant with oneAPI layout.
1 parent b415e78 commit d9d5d79

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
cmake_minimum_required(VERSION 3.14.0 FATAL_ERROR)
66
project(
7-
unified-memory-framework
7+
umf
88
VERSION 0.1.0
99
LANGUAGES C)
1010

test/test_installation.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@ def _create_match_list(self) -> List[str]:
9494
lib = [
9595
"lib",
9696
"lib/cmake",
97-
"lib/cmake/unified-memory-framework",
98-
"lib/cmake/unified-memory-framework/unified-memory-framework-config-version.cmake",
99-
"lib/cmake/unified-memory-framework/unified-memory-framework-config.cmake",
100-
f"lib/cmake/unified-memory-framework/unified-memory-framework-targets-{self.build_type}.cmake",
101-
"lib/cmake/unified-memory-framework/unified-memory-framework-targets.cmake",
97+
"lib/cmake/umf",
98+
"lib/cmake/umf/umf-config-version.cmake",
99+
"lib/cmake/umf/umf-config.cmake",
100+
f"lib/cmake/umf/umf-targets-{self.build_type}.cmake",
101+
"lib/cmake/umf/umf-targets.cmake",
102102
]
103103
for pool in self.pools:
104104
lib.append(f"lib/{lib_prefix}{pool}.{lib_ext_static}")
@@ -112,19 +112,19 @@ def _create_match_list(self) -> List[str]:
112112
share = [
113113
"share",
114114
"share/doc",
115-
"share/doc/unified-memory-framework",
115+
"share/doc/umf",
116116
]
117117
if self.examples:
118118
examples_dir = Path(self.workspace_dir, "examples")
119119
examples_dirs = [dir for dir in examples_dir.iterdir() if dir.is_dir()]
120120
examples = [
121-
f"share/doc/unified-memory-framework/examples/{file_path.name}"
121+
f"share/doc/umf/examples/{file_path.name}"
122122
for example_dir in examples_dirs
123123
for file_path in example_dir.iterdir()
124124
]
125-
examples.insert(0, "share/doc/unified-memory-framework/examples")
125+
examples.insert(0, "share/doc/umf/examples")
126126
share.extend(examples)
127-
share.append("share/doc/unified-memory-framework/LICENSE.TXT")
127+
share.append("share/doc/umf/LICENSE.TXT")
128128

129129
all_files = bin + include + lib + share
130130
if platform.system() == "Windows":

0 commit comments

Comments
 (0)