* [Intel-gfx] [PATCH i-g-t 1/4] meson: Build cnl_compute_wrpll
@ 2018-01-16 11:13 Petri Latvala
2018-01-16 11:13 ` [Intel-gfx] [PATCH i-g-t 2/4] meson: Add quotes in man/rst2man.sh Petri Latvala
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Petri Latvala @ 2018-01-16 11:13 UTC (permalink / raw)
To: igt-dev; +Cc: intel-gfx
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
---
tools/meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/meson.build b/tools/meson.build
index 7fc5390a..4258853e 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -1,4 +1,5 @@
tools_progs_noisnt = [
+ 'cnl_compute_wrpll',
'hsw_compute_wrpll',
'skl_compute_wrpll',
'skl_ddb_allocation',
--
2.14.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Intel-gfx] [PATCH i-g-t 2/4] meson: Add quotes in man/rst2man.sh
2018-01-16 11:13 [Intel-gfx] [PATCH i-g-t 1/4] meson: Build cnl_compute_wrpll Petri Latvala
@ 2018-01-16 11:13 ` Petri Latvala
2018-01-16 11:13 ` [Intel-gfx] [PATCH i-g-t 3/4] meson: Add quotes in assembler/test/run-test.sh Petri Latvala
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Petri Latvala @ 2018-01-16 11:13 UTC (permalink / raw)
To: igt-dev; +Cc: intel-gfx
If the directories contain spaces, rst2man.sh fails.
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
---
man/rst2man.sh | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/man/rst2man.sh b/man/rst2man.sh
index fc2b5ed8..8106ca4b 100755
--- a/man/rst2man.sh
+++ b/man/rst2man.sh
@@ -3,14 +3,14 @@
input=$1
output=$2
-out_dir=$(dirname ${output})
-in_file=$(basename ${input})
+out_dir=$(dirname "${output}")
+in_file=$(basename "${input}")
# rst2man doesn't handle multiple source directories well, and since defs.rst is
# generated we first need to move it all into the build dir
-cp $input $out_dir
+cp "$input" "$out_dir"
-rst2man $out_dir/$in_file ${output%.gz}
+rst2man "$out_dir/$in_file" "${output%.gz}"
-rm -f ${output}
-gzip ${output%.gz}
+rm -f "${output}"
+gzip "${output%.gz}"
--
2.14.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Intel-gfx] [PATCH i-g-t 3/4] meson: Add quotes in assembler/test/run-test.sh
2018-01-16 11:13 [Intel-gfx] [PATCH i-g-t 1/4] meson: Build cnl_compute_wrpll Petri Latvala
2018-01-16 11:13 ` [Intel-gfx] [PATCH i-g-t 2/4] meson: Add quotes in man/rst2man.sh Petri Latvala
@ 2018-01-16 11:13 ` Petri Latvala
2018-01-16 11:13 ` [Intel-gfx] [PATCH i-g-t 4/4] meson: Name the project intel-gpu-tools Petri Latvala
2018-01-16 12:35 ` [Intel-gfx] [PATCH i-g-t 1/4] meson: Build cnl_compute_wrpll Arkadiusz Hiler
3 siblings, 0 replies; 6+ messages in thread
From: Petri Latvala @ 2018-01-16 11:13 UTC (permalink / raw)
To: igt-dev; +Cc: intel-gfx
If the directories contain spaces, run-test.sh fails.
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
---
assembler/test/run-test.sh | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/assembler/test/run-test.sh b/assembler/test/run-test.sh
index b06e1044..f5e1a8fb 100644
--- a/assembler/test/run-test.sh
+++ b/assembler/test/run-test.sh
@@ -1,7 +1,7 @@
#!/bin/sh
-SRCDIR=${srcdir-`pwd`}
-BUILDDIR=${top_builddir-`pwd`}
+SRCDIR="${srcdir-`pwd`}"
+BUILDDIR="${top_builddir-`pwd`}"
test="TEST"
@@ -9,11 +9,11 @@ if [ -n "$1" ] ; then
test="$1"
fi
-test -d ${BUILDDIR}/test || mkdir ${BUILDDIR}/test/
+test -d "${BUILDDIR}/test" || mkdir "${BUILDDIR}/test/"
-${BUILDDIR}/intel-gen4asm -o ${BUILDDIR}/${test}.out $SRCDIR/${test}.g4a
-if cmp ${BUILDDIR}/${test}.out ${SRCDIR}/${test}.expected 2> /dev/null; then : ; else
+"${BUILDDIR}/intel-gen4asm" -o "${BUILDDIR}/${test}.out" "$SRCDIR/${test}.g4a"
+if cmp "${BUILDDIR}/${test}.out" "${SRCDIR}/${test}.expected" 2> /dev/null; then : ; else
echo "Output comparison for ${test}"
- diff -u ${SRCDIR}/${test}.expected ${test}.out
+ diff -u "${SRCDIR}/${test}.expected" "${test}.out"
exit 1;
fi
--
2.14.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Intel-gfx] [PATCH i-g-t 4/4] meson: Name the project intel-gpu-tools
2018-01-16 11:13 [Intel-gfx] [PATCH i-g-t 1/4] meson: Build cnl_compute_wrpll Petri Latvala
2018-01-16 11:13 ` [Intel-gfx] [PATCH i-g-t 2/4] meson: Add quotes in man/rst2man.sh Petri Latvala
2018-01-16 11:13 ` [Intel-gfx] [PATCH i-g-t 3/4] meson: Add quotes in assembler/test/run-test.sh Petri Latvala
@ 2018-01-16 11:13 ` Petri Latvala
2018-01-17 9:30 ` [Intel-gfx] [igt-dev] " Jani Nikula
2018-01-16 12:35 ` [Intel-gfx] [PATCH i-g-t 1/4] meson: Build cnl_compute_wrpll Arkadiusz Hiler
3 siblings, 1 reply; 6+ messages in thread
From: Petri Latvala @ 2018-01-16 11:13 UTC (permalink / raw)
To: igt-dev; +Cc: intel-gfx
Eventually we're switching the official name to "IGT GPU Tools", but
right now there's still a lot of hardcoding to intel-gpu-tools that is
to be fixed in the near future.
Rename the project in toplevel meson.build to intel-gpu-tools to get
meson to generate tarballs roughly the same as autotools in 'dist'.
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 0950d3c7..36403352 100644
--- a/meson.build
+++ b/meson.build
@@ -1,4 +1,4 @@
-project('IGT gpu tests', 'c',
+project('intel-gpu-tools', 'c',
version : '1.20',
default_options: [
'warning_level=2',
--
2.14.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [Intel-gfx] [PATCH i-g-t 1/4] meson: Build cnl_compute_wrpll
2018-01-16 11:13 [Intel-gfx] [PATCH i-g-t 1/4] meson: Build cnl_compute_wrpll Petri Latvala
` (2 preceding siblings ...)
2018-01-16 11:13 ` [Intel-gfx] [PATCH i-g-t 4/4] meson: Name the project intel-gpu-tools Petri Latvala
@ 2018-01-16 12:35 ` Arkadiusz Hiler
3 siblings, 0 replies; 6+ messages in thread
From: Arkadiusz Hiler @ 2018-01-16 12:35 UTC (permalink / raw)
To: Petri Latvala; +Cc: igt-dev, intel-gfx
On Tue, Jan 16, 2018 at 01:13:03PM +0200, Petri Latvala wrote:
> Signed-off-by: Petri Latvala <petri.latvala@intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
one the whole series
--
Cheers,
Arek
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Intel-gfx] [igt-dev] [PATCH i-g-t 4/4] meson: Name the project intel-gpu-tools
2018-01-16 11:13 ` [Intel-gfx] [PATCH i-g-t 4/4] meson: Name the project intel-gpu-tools Petri Latvala
@ 2018-01-17 9:30 ` Jani Nikula
0 siblings, 0 replies; 6+ messages in thread
From: Jani Nikula @ 2018-01-17 9:30 UTC (permalink / raw)
To: Petri Latvala, igt-dev; +Cc: intel-gfx
On Tue, 16 Jan 2018, Petri Latvala <petri.latvala@intel.com> wrote:
> Eventually we're switching the official name to "IGT GPU Tools"
*shudder* at that tongue twister... :p
--
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-01-17 9:30 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-16 11:13 [Intel-gfx] [PATCH i-g-t 1/4] meson: Build cnl_compute_wrpll Petri Latvala
2018-01-16 11:13 ` [Intel-gfx] [PATCH i-g-t 2/4] meson: Add quotes in man/rst2man.sh Petri Latvala
2018-01-16 11:13 ` [Intel-gfx] [PATCH i-g-t 3/4] meson: Add quotes in assembler/test/run-test.sh Petri Latvala
2018-01-16 11:13 ` [Intel-gfx] [PATCH i-g-t 4/4] meson: Name the project intel-gpu-tools Petri Latvala
2018-01-17 9:30 ` [Intel-gfx] [igt-dev] " Jani Nikula
2018-01-16 12:35 ` [Intel-gfx] [PATCH i-g-t 1/4] meson: Build cnl_compute_wrpll Arkadiusz Hiler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox