Browse Source

doc: switch to package starpu-1.1

Nathalie Furmento 12 years ago
parent
commit
0ac185781c
3 changed files with 17 additions and 17 deletions
  1. 10 10
      doc/chapters/basic-examples.texi
  2. 1 1
      doc/chapters/c-extensions.texi
  3. 6 6
      doc/chapters/installing.texi

+ 10 - 10
doc/chapters/basic-examples.texi

@@ -68,9 +68,9 @@ The code can then be compiled and linked with GCC and the
 @code{-fplugin} flag:
 
 @example
-$ gcc `pkg-config starpu-1.0 --cflags` hello-starpu.c \
-    -fplugin=`pkg-config starpu-1.0 --variable=gccplugin` \
-    `pkg-config starpu-1.0 --libs`
+$ gcc `pkg-config starpu-1.1 --cflags` hello-starpu.c \
+    -fplugin=`pkg-config starpu-1.1 --variable=gccplugin` \
+    `pkg-config starpu-1.1 --libs`
 @end example
 
 The code can also be compiled without the StarPU C extension and will
@@ -273,7 +273,7 @@ disabled thanks to @code{starpu_data_set_default_sequential_consistency_flag} or
 
 @smallexample
 $ make hello_world
-cc $(pkg-config --cflags starpu-1.0)  $(pkg-config --libs starpu-1.0) hello_world.c -o hello_world
+cc $(pkg-config --cflags starpu-1.1)  $(pkg-config --libs starpu-1.1) hello_world.c -o hello_world
 $ ./hello_world
 Hello world (params = @{1, 2.000000@} )
 Callback function (arg 42)
@@ -392,9 +392,9 @@ The program can be compiled and linked with GCC and the @code{-fplugin}
 flag:
 
 @example
-$ gcc `pkg-config starpu-1.0 --cflags` vector_scal.c \
-    -fplugin=`pkg-config starpu-1.0 --variable=gccplugin` \
-    `pkg-config starpu-1.0 --libs`
+$ gcc `pkg-config starpu-1.1 --cflags` vector_scal.c \
+    -fplugin=`pkg-config starpu-1.1 --variable=gccplugin` \
+    `pkg-config starpu-1.1 --libs`
 @end example
 
 And voil@`a!
@@ -666,7 +666,7 @@ constant factor from this pointer.
 
 @smallexample
 $ make vector_scal
-cc $(pkg-config --cflags starpu-1.0)  $(pkg-config --libs starpu-1.0)  vector_scal.c   -o vector_scal
+cc $(pkg-config --cflags starpu-1.1)  $(pkg-config --libs starpu-1.1)  vector_scal.c   -o vector_scal
 $ ./vector_scal
 0.000000 3.000000 6.000000 9.000000 12.000000
 @end smallexample
@@ -915,8 +915,8 @@ be compiled at run-time when calling the function
 
 @cartouche
 @smallexample
-CFLAGS  += $(shell pkg-config --cflags starpu-1.0)
-LDFLAGS += $(shell pkg-config --libs starpu-1.0)
+CFLAGS  += $(shell pkg-config --cflags starpu-1.1)
+LDFLAGS += $(shell pkg-config --libs starpu-1.1)
 CC       = gcc
 
 vector_scal: vector_scal.o vector_scal_cpu.o vector_scal_cuda.o vector_scal_opencl.o

+ 1 - 1
doc/chapters/c-extensions.texi

@@ -29,7 +29,7 @@ When StarPU has been installed with its GCC plug-in, programs that use
 these extensions can be compiled this way:
 
 @example
-$ gcc -c -fplugin=`pkg-config starpu-1.0 --variable=gccplugin` foo.c
+$ gcc -c -fplugin=`pkg-config starpu-1.1 --variable=gccplugin` foo.c
 @end example
 
 @noindent

+ 6 - 6
doc/chapters/installing.texi

@@ -194,13 +194,13 @@ with the @code{libstarpu} package. Similar packages are provided for
 @code{libstarpumpi} and @code{libstarpufft}.}:
 
 @example
-$ pkg-config --cflags starpu-1.0  # options for the compiler
-$ pkg-config --libs starpu-1.0    # options for the linker
+$ pkg-config --cflags starpu-1.1  # options for the compiler
+$ pkg-config --libs starpu-1.1    # options for the linker
 @end example
 
-Make sure that @code{pkg-config --libs starpu-1.0} actually produces some output
+Make sure that @code{pkg-config --libs starpu-1.1} actually produces some output
 before going further: @code{PKG_CONFIG_PATH} has to point to the place where
-@code{starpu-1.0.pc} was installed during @code{make install}.
+@code{starpu-1.1.pc} was installed during @code{make install}.
 
 Also pass the @code{--static} option if the application is to be
 linked statically.
@@ -217,8 +217,8 @@ options for the compiler and the linker:
 
 @cartouche
 @example
-CFLAGS          +=      $$(pkg-config --cflags starpu-1.0)
-LDFLAGS         +=      $$(pkg-config --libs starpu-1.0)
+CFLAGS          +=      $$(pkg-config --cflags starpu-1.1)
+LDFLAGS         +=      $$(pkg-config --libs starpu-1.1)
 @end example
 @end cartouche