Skip to content

Commit dc11b3c

Browse files
committed
rename directories to use _ instead of -
Otherwise paths have both in them, following the usual C convention for _, which is ugly.
1 parent b9d026a commit dc11b3c

File tree

171 files changed

+80
-84
lines changed

Some content is hidden

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

171 files changed

+80
-84
lines changed

README.md

Lines changed: 9 additions & 9 deletions
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

cuda/README.md

Lines changed: 45 additions & 4 deletions
File renamed without changes.
File renamed without changes.

cuda/introduction.md

Lines changed: 0 additions & 44 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

make/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

scons/README.md

Lines changed: 8 additions & 8 deletions
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

scons/variant-dir/test

Lines changed: 0 additions & 8 deletions
This file was deleted.

scons/variant-dir/SConstruct renamed to scons/variant_dir/SConstruct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import os.path
22
env = Environment()
33
x = ARGUMENTS.get('x', '0')
44
env.Append(CPPDEFINES=['X=' + x])
5-
variant_dir = 'build-{}'.format(x)
5+
variant_dir = 'build_{}'.format(x)
66
# duplicate: https://scons.org/doc/2.4.1/HTML/scons-user.html#idp1378838508
77
# If on, by default uses hardlinks. Can be turned into softlinks with --duplicate=soft-copy.
88
env.VariantDir(variant_dir, 'src', duplicate=1)
File renamed without changes.
File renamed without changes.
File renamed without changes.

scons/variant_dir/test

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env bash
2+
set -eu
3+
scons --clean
4+
scons
5+
[ "$(./build_0/main.out)" = 0 ]
6+
[ ! -d build_1 ]
7+
scons x=1
8+
[ "$(./build_1/main.out)" = 1 ]

shared-library/README.md renamed to shared_library/README.md

Lines changed: 2 additions & 2 deletions
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

test

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,22 @@ top="$(pwd)"
77
# make test
88
for t in \
99
c \
10-
c-from-cpp \
10+
c_from_cpp \
1111
c/extern \
1212
c/static/function \
1313
c/static/variable \
1414
cpp \
15-
cpp-from-c \
15+
cpp_from_c \
1616
cpp/extern_const \
1717
cpp/inline_variable \
1818
gcc \
1919
glibc \
20-
linker/incremental-link \
21-
linker/variable-address \
20+
linker/incremental_link \
21+
linker/variable_address \
2222
posix \
23-
shared-library/basic \
24-
shared-library/lib-lib-dependency \
25-
shared-library/symbol-version \
23+
shared_library/basic \
24+
shared_library/lib_lib_dependency \
25+
shared_library/symbol_version \
2626
; do
2727
if ! make -C "$t" -j`nproc` test; then
2828
echo "TEST FAILED: $t"

0 commit comments

Comments
 (0)